summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-14 14:12:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-14 14:12:38 +0200
commitbca1577ed3c43d14e0a8f3bf92c15c710a565574 (patch)
tree12671e7bc5791d0de34f7e59104d1dce7cf9c083 /libavcodec
parent410317237663adf9d3f07dbbbf708a8dd49d693c (diff)
downloadffmpeg-streaming-bca1577ed3c43d14e0a8f3bf92c15c710a565574.zip
ffmpeg-streaming-bca1577ed3c43d14e0a8f3bf92c15c710a565574.tar.gz
avcodec/mpeg4videodec: change log level to waning for incomplete header messages
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg4videodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index b8fd50b..8be68c6 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2241,7 +2241,7 @@ static int decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb)
if (ctx->time_increment_bits == 0 ||
!(show_bits(gb, ctx->time_increment_bits + 1) & 1)) {
- av_log(s->avctx, AV_LOG_ERROR,
+ av_log(s->avctx, AV_LOG_WARNING,
"hmm, seems the headers are not complete, trying to guess time_increment_bits\n");
for (ctx->time_increment_bits = 1;
@@ -2256,7 +2256,7 @@ static int decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb)
break;
}
- av_log(s->avctx, AV_LOG_ERROR,
+ av_log(s->avctx, AV_LOG_WARNING,
"my guess is %d bits ;)\n", ctx->time_increment_bits);
if (s->avctx->framerate.num && 4*s->avctx->framerate.num < 1<<ctx->time_increment_bits) {
s->avctx->framerate.num = 1<<ctx->time_increment_bits;
OpenPOWER on IntegriCloud