Browse Source

Decrease severity of 'invalid new backstep' log message to warning

in mpeg audio decoder.

Originally committed as revision 14313 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Andreas Öman 17 years ago
parent
commit
b000c604f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegaudiodec.c

+ 1
- 1
libavcodec/mpegaudiodec.c View File

@@ -2326,7 +2326,7 @@ static int mp_decode_frame(MPADecodeContext *s,
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);


Loading…
Cancel
Save