Mercurial > libavcodec.hg
diff flacdec.c @ 9138:063854fdfe73 libavcodec
flacdec: There is an even smaller FLAC frame size possibility.
author | jbr |
---|---|
date | Thu, 05 Mar 2009 02:36:17 +0000 |
parents | f32faa6e149b |
children | 4564ec1f21b0 |
line wrap: on
line diff
--- a/flacdec.c Thu Mar 05 02:21:35 2009 +0000 +++ b/flacdec.c Thu Mar 05 02:36:17 2009 +0000 @@ -651,7 +651,7 @@ /* 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 */