diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2025-06-17 02:31:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-06-23 14:28:55 +0200 |
commit | a5f861d335491ce2350102b74c7a17f875cad0ed (patch) | |
tree | eede8c65dd561d4ed5055d6beebe320d0a174189 /libavformat/iff.c | |
parent | b587afcb65192c4c4bf88422f6565e5355eaf31e (diff) | |
download | ffmpeg-a5f861d335491ce2350102b74c7a17f875cad0ed.tar.gz |
avcodec/osq: Switch back to av_ceil_log2()
This returns to code closer to prior 56c334d732dbbce43b0c8fc0809ec545b7946832
The prior fixes should limit the sum and avoid the need for double argument log2()
Fixes: Assertion n>=0 && n<=32 failed at libavcodec/get_bits.h:406
Fixes: 410109093/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-6550900028276736
No testcases except fuzzers
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/iff.c')
0 files changed, 0 insertions, 0 deletions