flacdec: There is an even smaller FLAC frame size possibility.

Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2009-03-05 02:36:17 +00:00
parent 5756bc7b02
commit 629fb5c46a

View File

@ -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 */