From 7b811c362a0b0cfb9a8c503cacf9be57d1ed2c7a Mon Sep 17 00:00:00 2001 From: Nayan Deshmukh Date: Mon, 5 Dec 2016 10:55:17 +0530 Subject: [PATCH] st/vdpau: fix compiler warning in vlVdpVideoMixerRender MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Nayan Deshmukh Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2