diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-02 18:41:37 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-02 18:42:35 +0100 |
commit | 5852682dbd596db5f54810f068030a72a0e71a8d (patch) | |
tree | 638a8868edd74a414c0046ddf1ab3c44ba78f598 /libavcodec | |
parent | 3879555cd540f7df02ef527fcbc0fda4c68fbfa9 (diff) | |
download | ffmpeg-5852682dbd596db5f54810f068030a72a0e71a8d.tar.gz |
avcodec/bonk: increase level limit as joint encodings needs more
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bonk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c index 182b5ef459..5d736b1563 100644 --- a/libavcodec/bonk.c +++ b/libavcodec/bonk.c @@ -217,7 +217,7 @@ static int intlist_read(BonkContext *s, int *buf, int entries, int base_2_part) level += 1 << low_bits; } - if (level > 1 << 15) + if (level > 1 << 16) return AVERROR_INVALIDDATA; if (x >= max_x) |