Module: Mesa Branch: master Commit: 7b811c362a0b0cfb9a8c503cacf9be57d1ed2c7a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b811c362a0b0cfb9a8c503cacf9be57d1ed2c7a
Author: Nayan Deshmukh <nayan26deshm...@gmail.com> Date: Mon Dec 5 11:13:17 2016 +0530 st/vdpau: fix compiler warning in vlVdpVideoMixerRender Signed-off-by: Nayan Deshmukh <nayan26deshm...@gmail.com> Reviewed-by: Christian König <christian.koe...@amd.com> --- 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 c205427..aca43c1 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit