diff options
author | Nayan Deshmukh <[email protected]> | 2016-12-05 10:55:17 +0530 |
---|---|---|
committer | Christian König <[email protected]> | 2016-12-05 11:20:55 +0100 |
commit | 7b811c362a0b0cfb9a8c503cacf9be57d1ed2c7a (patch) | |
tree | 148da9c3d3c1b526eda4686dc113fcd6751d1db9 /src | |
parent | 5b27405eff7d94ef1eadd0693b3130ee188343f2 (diff) |
st/vdpau: fix compiler warning in vlVdpVideoMixerRender
Signed-off-by: Nayan Deshmukh <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/vdpau/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |