summaryrefslogtreecommitdiff
path: root/libavcodec/bonk.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-01-02 18:41:37 +0100
committerPaul B Mahol <onemda@gmail.com>2023-01-02 18:42:35 +0100
commit5852682dbd596db5f54810f068030a72a0e71a8d (patch)
tree638a8868edd74a414c0046ddf1ab3c44ba78f598 /libavcodec/bonk.c
parent3879555cd540f7df02ef527fcbc0fda4c68fbfa9 (diff)
downloadffmpeg-5852682dbd596db5f54810f068030a72a0e71a8d.tar.gz
avcodec/bonk: increase level limit as joint encodings needs more
Diffstat (limited to 'libavcodec/bonk.c')
-rw-r--r--libavcodec/bonk.c2
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)