From: Nayan Deshmukh Date: Mon, 5 Dec 2016 05:25:17 +0000 (+0530) Subject: st/vdpau: fix compiler warning in vlVdpVideoMixerRender X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b811c362a0b0cfb9a8c503cacf9be57d1ed2c7a;p=mesa.git st/vdpau: fix compiler warning in vlVdpVideoMixerRender Signed-off-by: Nayan Deshmukh Reviewed-by: Christian König --- diff --git a/src/gallium/state_trackers/vdpau/mixer.c b/src/gallium/state_trackers/vdpau/mixer.c index c205427fb7e..aca43c1e26e 100644 --- a/src/gallium/state_trackers/vdpau/mixer.c +++ b/src/gallium/state_trackers/vdpau/mixer.c @@ -242,7 +242,7 @@ VdpStatus vlVdpVideoMixerRender(VdpVideoMixer mixer, struct pipe_video_buffer *video_buffer; struct pipe_sampler_view *sampler_view, sv_templ; struct pipe_surface *surface, surf_templ; - struct pipe_context *pipe; + struct pipe_context *pipe = NULL; struct pipe_resource res_tmpl, *res; vlVdpVideoMixer *vmixer;