diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2009-03-05 02:36:17 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2009-03-05 02:36:17 +0000 |
commit | 629fb5c46a7a49681e4c91e0bbd7da198dc821ea (patch) | |
tree | 5b31d5562cf6630743b5e9575d115319490d9ec8 /libavcodec/flacdec.c | |
parent | 5756bc7b025d305a2b5461b9865ff69fd913d546 (diff) | |
download | ffmpeg-629fb5c46a7a49681e4c91e0bbd7da198dc821ea.tar.gz |
flacdec: There is an even smaller FLAC frame size possibility.
Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r-- | libavcodec/flacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 4563329e5a..4ed15c9e0b 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 */ |