[FFmpeg-cvslog] r17821 - trunk/libavcodec/flacdec.c
jbr
subversion
Thu Mar 5 03:36:17 CET 2009
Author: jbr
Date: Thu Mar 5 03:36:17 2009
New Revision: 17821
Log:
flacdec: There is an even smaller FLAC frame size possibility.
Modified:
trunk/libavcodec/flacdec.c
Modified: trunk/libavcodec/flacdec.c
==============================================================================
--- trunk/libavcodec/flacdec.c Thu Mar 5 03:21:35 2009 (r17820)
+++ trunk/libavcodec/flacdec.c Thu Mar 5 03:36:17 2009 (r17821)
@@ -651,7 +651,7 @@ static int flac_decode_frame(AVCodecCont
/* 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 */
More information about the ffmpeg-cvslog
mailing list