On 29/11/17 22:37, Luca Barbato wrote:
> On 29/11/2017 23:12, Mark Thompson wrote:
>> +    tmp = av_realloc_array(pic->param_buffers, sizeof(*tmp), 
>> pic->nb_param_buffers + 1);
>> +    if (!tmp)
>> +        return AVERROR(ENOMEM);
> 
> Shouldn't go to the cleanup label instead?

The return will go to the failure case in vaapi_encode_issue(), which cleans up 
the parameter buffers.

Thanks,

- Mark
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to