[FFmpeg-devel] [PATCH] libavcodec: fix -Wint-conversion in vulkan
Lynne
dev at lynne.ee
Sat Jan 6 23:40:39 EET 2024
Jan 6, 2024, 07:18 by sam at gentoo.org:
>
> Sam James <sam at gentoo.org> writes:
>
>> FIx warnings (soon to be errors in GCC 14, already so in Clang 15):
>> ```
>> src/libavcodec/vulkan_av1.c: In function ‘vk_av1_create_params’:
>> src/libavcodec/vulkan_av1.c:183:43: error: initialization of ‘long long unsigned int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
>> 183 | .videoSessionParametersTemplate = NULL,
>> | ^~~~
>> src/libavcodec/vulkan_av1.c:183:43: note: (near initialization for ‘(anonymous).videoSessionParametersTemplate’)
>> ```
>>
>> Use Vulkan's VK_NULL_HANDLE instead of bare NULL.
>>
>> Fix Trac ticket #10724.
>>
>> Was reported downstream in Gentoo at https://bugs.gentoo.org/919067.
>>
>> Signed-off-by: Sam James <sam at gentoo.org>
>>
>
> ping
>
Missed it.
Pushed, thanks.
More information about the ffmpeg-devel
mailing list