Mercurial > libavcodec.hg
changeset 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 |
files | flacdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 */