You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
flacdec: skip frame when allocated data size is too small
Originally committed as revision 18155 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -693,7 +693,7 @@ static int flac_decode_frame(AVCodecContext *avctx,
|
||||
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;
|
||||
|
||||
|
Reference in New Issue
Block a user