[FFmpeg-cvslog] mp3dec: Dont spam the user on multiple mp3 frames.
Chris Rankin
git at videolan.org
Thu Sep 8 21:15:17 CEST 2011
ffmpeg | branch: master | Chris Rankin <rankincj at yahoo.com> | Thu Sep 8 21:04:26 2011 +0200| [54e1eaef6787104083cbc9c9834ea4d13612df9f] | committer: Michael Niedermayer
mp3dec: Dont spam the user on multiple mp3 frames.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54e1eaef6787104083cbc9c9834ea4d13612df9f
---
libavcodec/mpegaudiodec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 56a48ce..9fbae0c 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -1809,7 +1809,7 @@ static int decode_frame(AVCodecContext * avctx,
av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
return -1;
}else if(s->frame_size < buf_size){
- av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
+ av_log(avctx, AV_LOG_DEBUG, "incorrect frame size - multiple frames in buffer?\n");
buf_size= s->frame_size;
}
More information about the ffmpeg-cvslog
mailing list