[FFmpeg-devel] [PATCH] avutil/hwcontext_vulkan: add include for boolean literals (PR #20155)
Nicolas George
george at nsup.org
Thu Aug 7 15:21:58 EEST 2025
Leo Izen (HE12025-08-07):
> PR #20155 opened by Leo Izen (Traneptora)
> URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20155
> Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20155.patch
>
> One call of av_assert2(false && foo) is in this file, which causes
> it to fail to compile on certain platforms with --assert-level=2. We
> fix this by #including stdbool.h to declare false as a literal.
Better replace the av_assert2() with av_unreachable().
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list