[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: release/0.8 | Chris Rankin <rankincj at yahoo.com> | Thu Sep  8 21:04:26 2011 +0200| [b2c9e9be870d2abcd2f85c9c0e3af5d1be3ac9e5] | committer: Michael Niedermayer

mp3dec: Dont spam the user on multiple mp3 frames.
(cherry picked from commit 54e1eaef6787104083cbc9c9834ea4d13612df9f)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2c9e9be870d2abcd2f85c9c0e3af5d1be3ac9e5
---

 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