Commit 4bdc591f authored by jbr's avatar jbr

flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16

bytes, not 24.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f7f614d6
......@@ -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 */
......
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