[Mesa-dev] [PATCH] st/vdpau: fix compiler warning in vlVdpVideoMixerRender

Nayan Deshmukh nayan26deshmukh at gmail.com
Mon Dec 5 09:28:23 UTC 2016


Christian, Thanks for the review. Can you push the patch for me?

Regards,
Nayan

On Mon, Dec 5, 2016 at 1:17 PM, Christian König
<christian.koenig at amd.com> wrote:
> Am 05.12.2016 um 06:25 schrieb Nayan Deshmukh:
>>
>> Signed-off-by: Nayan Deshmukh <nayan26deshmukh at gmail.com>
>
>
> Reviewed-by: Christian König <christian.koenig at 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;
>
>
>


More information about the mesa-dev mailing list