[FFmpeg-devel] [PATCH] libavcodec: fix -Wint-conversion in vulkan

Sebastian Ramacher sramacher at debian.org
Tue Jul 30 13:00:30 EEST 2024


On 2024-07-30 11:58:15 +0200, Sebastian Ramacher wrote:
> On 2024-01-06 22:40:39 +0100, Lynne wrote:
> > 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.
> 
> Please backport this patch to partly address https://trac.ffmpeg.org/ticket/11115.

Forget it. I was looking at the wrong patch.

Cheers
-- 
Sebastian Ramacher


More information about the ffmpeg-devel mailing list