[FFmpeg-cvslog] r14313 - trunk/libavcodec/mpegaudiodec.c

andoma subversion
Sun Jul 20 17:01:20 CEST 2008


Author: andoma
Date: Sun Jul 20 17:01:20 2008
New Revision: 14313

Log:
Decrease severity of 'invalid new backstep' log message to warning
in mpeg audio decoder.


Modified:
   trunk/libavcodec/mpegaudiodec.c

Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	(original)
+++ trunk/libavcodec/mpegaudiodec.c	Sun Jul 20 17:01:20 2008
@@ -2326,7 +2326,7 @@ static int mp_decode_frame(MPADecodeCont
         i= (s->gb.size_in_bits - get_bits_count(&s->gb))>>3;
 
         if(i<0 || i > BACKSTEP_SIZE || nb_frames<0){
-            av_log(s->avctx, AV_LOG_ERROR, "invalid new backstep %d\n", i);
+            av_log(s->avctx, AV_LOG_WARNING, "invalid new backstep %d\n", i);
             i= FFMIN(BACKSTEP_SIZE, buf_size - HEADER_SIZE);
         }
         assert(i <= buf_size - HEADER_SIZE && i>= 0);




More information about the ffmpeg-cvslog mailing list