From bb2e05885d476702f1fade95ec32eb5eb6079374 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 30 Mar 2017 17:11:41 +0200 Subject: [PATCH] vdpau: fix a maybe-uninitialized warning --- src/gallium/state_trackers/vdpau/presentation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/state_trackers/vdpau/presentation.c index 7869f4c5031..54f15ff34b1 100644 --- a/src/gallium/state_trackers/vdpau/presentation.c +++ b/src/gallium/state_trackers/vdpau/presentation.c @@ -210,7 +210,7 @@ vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue, struct pipe_context *pipe; struct pipe_resource *tex; - struct pipe_surface surf_templ, *surf_draw; + struct pipe_surface surf_templ, *surf_draw = NULL; struct u_rect src_rect, dst_clip, *dirty_area; struct vl_compositor *compositor; -- 2.30.2