projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65732a8
)
vdpau: fix a maybe-uninitialized warning
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 30 Mar 2017 15:11:41 +0000
(17:11 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 30 Mar 2017 15:14:47 +0000
(17:14 +0200)
src/gallium/state_trackers/vdpau/presentation.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vdpau/presentation.c
b/src/gallium/state_trackers/vdpau/presentation.c
index 7869f4c503156ab936b3d1b2917fcae7118e4efa..54f15ff34b1b9563f5bf212d7e0a60aa11cf841b 100644
(file)
--- 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;