[FFmpeg-cvslog] avcodec/bonk: increase level limit as joint encodings needs more
Paul B Mahol
git at videolan.org
Mon Jan 2 19:39:09 EET 2023
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jan 2 18:41:37 2023 +0100| [5852682dbd596db5f54810f068030a72a0e71a8d] | committer: Paul B Mahol
avcodec/bonk: increase level limit as joint encodings needs more
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5852682dbd596db5f54810f068030a72a0e71a8d
---
libavcodec/bonk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list