diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 4563329e5aba1afbddeaf1472c700c45e35ef364..4ed15c9e0b843cd6c6df19054dd2a6eb19051309 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -651,7 +651,7 @@ static int flac_decode_frame(AVCodecContext *avctx, /* check that there is at least the smallest decodable amount of data. this amount corresponds to the smallest valid FLAC frame possible. */ - if (buf_size < 16) + if (buf_size < 11) goto end; /* check for inline header */