Commit 629fb5c4 authored by Justin Ruggles's avatar Justin Ruggles

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

Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5756bc7b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment