]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/atrac3.c
avcodec/dynamic_hdr10_plus: don't take a GetBitContext as input argument
[ffmpeg] / libavcodec / atrac3.c
index 1e884a56b6f94ff73879e82e6f7e49d1aea7b3b3..46b98d2f786045a732dd694f05ff65d1557d6d74 100644 (file)
@@ -968,7 +968,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
         return AVERROR_INVALIDDATA;
     }
 
-    if (avctx->block_align > 1024 || avctx->block_align <= 0)
+    if (avctx->block_align > 4096 || avctx->block_align <= 0)
         return AVERROR(EINVAL);
 
     q->decoded_bytes_buffer = av_mallocz(FFALIGN(avctx->block_align, 4) +