Commit 2b0c0f6f authored by andoma's avatar andoma

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

in mpeg audio decoder.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c80d65a4
...@@ -2326,7 +2326,7 @@ static int mp_decode_frame(MPADecodeContext *s, ...@@ -2326,7 +2326,7 @@ static int mp_decode_frame(MPADecodeContext *s,
i= (s->gb.size_in_bits - get_bits_count(&s->gb))>>3; i= (s->gb.size_in_bits - get_bits_count(&s->gb))>>3;
if(i<0 || i > BACKSTEP_SIZE || nb_frames<0){ 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); i= FFMIN(BACKSTEP_SIZE, buf_size - HEADER_SIZE);
} }
assert(i <= buf_size - HEADER_SIZE && i>= 0); assert(i <= buf_size - HEADER_SIZE && i>= 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment