[FFmpeg-cvslog] mpegaudiodec: don't print an error on > 1 frame in a packet.
Anton Khirnov
git at videolan.org
Thu Aug 9 01:02:21 CEST 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jul 31 15:44:00 2012 +0200| [927e92cdc7f442a526ba1266420181d4418c02f3] | committer: Anton Khirnov
mpegaudiodec: don't print an error on > 1 frame in a packet.
It's a perfectly normal situation, nothing to spam about.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=927e92cdc7f442a526ba1266420181d4418c02f3
---
libavcodec/mpegaudiodec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index c33b12a..03094f6 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -1663,7 +1663,6 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *got_frame_ptr,
av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
return AVERROR_INVALIDDATA;
} else if (s->frame_size < buf_size) {
- av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
buf_size= s->frame_size;
}
More information about the ffmpeg-cvslog
mailing list