From 629fb5c46a7a49681e4c91e0bbd7da198dc821ea Mon Sep 17 00:00:00 2001
From: Justin Ruggles <justin.ruggles@gmail.com>
Date: Thu, 5 Mar 2009 02:36:17 +0000
Subject: [PATCH] flacdec: There is an even smaller FLAC frame size
 possibility.

Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/flacdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 4563329e5ab..4ed15c9e0b8 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 */
-- 
GitLab