[FFmpeg-devel] [PATCH v9 4/5] avformat/image2: add Jpeg XL as image2 format

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Mar 30 14:16:20 EEST 2022


Leo Izen:
> On 3/24/22 14:38, Michael Niedermayer wrote:
>> make -j32 tools/probetest && tools/probetest 256 4096
>>
>> testing size=1
>> testing size=2
>> testing size=4
>> Assertion n>=0 && n<=32 failed at libavcodec/get_bits.h:549
>> Aborted (core dumped)
> Not sure where this failure is coming from as I cannot reproduce it.
> 

It's an av_assert2() assert, i.e. only enabled with --assert-level=2
when running configure. And it is expected that this happens, given that
the get_bits-functions are not supposed to be used for skipping.
Actually, setting assert-level=2 should be done when developing FFmpeg;
it is the equivalent of enabling asserts (for non-release builds).

- Andreas


More information about the ffmpeg-devel mailing list