[FFmpeg-cvslog] r17820 - trunk/libavcodec/flacdec.c
jbr
subversion
Thu Mar 5 03:21:35 CET 2009
Author: jbr
Date: Thu Mar 5 03:21:35 2009
New Revision: 17820
Log:
flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
bytes, not 24.
Modified:
trunk/libavcodec/flacdec.c
Modified: trunk/libavcodec/flacdec.c
==============================================================================
--- trunk/libavcodec/flacdec.c Thu Mar 5 02:23:53 2009 (r17819)
+++ trunk/libavcodec/flacdec.c Thu Mar 5 03:21:35 2009 (r17820)
@@ -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 < 24)
+ if (buf_size < 16)
goto end;
/* check for inline header */
More information about the ffmpeg-cvslog
mailing list