summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorAndreas Öman <andreas@lonelycoder.com>2008-07-20 15:01:20 +0000
committerAndreas Öman <andreas@lonelycoder.com>2008-07-20 15:01:20 +0000
commitb000c604f214a5ee4cb2f8c58dbfa6dd92e95415 (patch)
tree6eac57534cd60edda6187599420059437c10b44a /libavcodec/mpegaudiodec.c
parent11f63a221b668ea50fbbc47eea3c1c1284a1dbec (diff)
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
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 60b0212e30..2ff9f427ec 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -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);