[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: let users enable device and instance extensions using options

Lynne dev at lynne.ee
Mon May 11 01:25:54 EEST 2020


May 10, 2020, 22:23 by sw at jkqxz.net:

>>  
>> +    for (int i = 0; i < dev_info.enabledExtensionCount; i++)
>> +        av_free((void *)dev_info.ppEnabledExtensionNames[i]);
>>  av_free((void *)dev_info.ppEnabledExtensionNames);
>>  
>>  if (ret != VK_SUCCESS) {
>> -- 
>> 2.26.2
>>
>
> LGTM with that fixed.
>

Fixed. Checked whether the entire function to see if it frees everything correctly under failure,
it does now.



More information about the ffmpeg-devel mailing list