projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f63a2
)
Decrease severity of 'invalid new backstep' log message to warning
author
Andreas Öman
<andreas@lonelycoder.com>
Sun, 20 Jul 2008 15:01:20 +0000
(15:01 +0000)
committer
Andreas Öman
<andreas@lonelycoder.com>
Sun, 20 Jul 2008 15:01:20 +0000
(15:01 +0000)
in mpeg audio decoder.
Originally committed as revision 14313 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index
60b0212
..
2ff9f42
100644
(file)
--- 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);