vdpau: fix a maybe-uninitialized warning

This commit is contained in:
Marek Olšák 2017-03-30 17:11:41 +02:00
parent 65732a8ff6
commit bb2e05885d

View file

@ -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;