[FFmpeg-cvslog] r18155 - trunk/libavcodec/flacdec.c
jbr
subversion
Sun Mar 22 22:31:23 CET 2009
Author: jbr
Date: Sun Mar 22 22:31:23 2009
New Revision: 18155
Log:
flacdec: skip frame when allocated data size is too large
Modified:
trunk/libavcodec/flacdec.c
Modified: trunk/libavcodec/flacdec.c
==============================================================================
--- trunk/libavcodec/flacdec.c Sun Mar 22 22:13:10 2009 (r18154)
+++ trunk/libavcodec/flacdec.c Sun Mar 22 22:31:23 2009 (r18155)
@@ -693,7 +693,7 @@ static int flac_decode_frame(AVCodecCont
if (output_size > alloc_data_size) {
av_log(s->avctx, AV_LOG_ERROR, "output data size is larger than "
"allocated data size\n");
- return -1;
+ goto end;
}
*data_size = output_size;
More information about the ffmpeg-cvslog
mailing list