summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/flacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 5d8b834efc..4563329e5a 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 < 24)
+ if (buf_size < 16)
goto end;
/* check for inline header */