aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-04-13 19:35:54 +0200
committerDiego Biurrun <diego@biurrun.de>2015-04-14 12:32:43 +0200
commit13e4f2c7f7857feb6885f0c2ea8c9ddf438f46ea (patch)
tree43263796c18de0aa21be2a2c2eab9113003b5962 /libavcodec
parent49e531ff4706279c7eed774f2c8b896942924ce2 (diff)
downloadffmpeg-13e4f2c7f7857feb6885f0c2ea8c9ddf438f46ea.tar.gz
mpeg4videodec: Remove useless messages
They seem to sometimes trigger with old AVI files. They are just confusing, do not help anyone, and use sloppy language. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg4videodec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 0966e07d5c..50a6ae1cd6 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2097,9 +2097,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,
- "hmm, seems the headers are not complete, trying to guess time_increment_bits\n");
-
+ /* Headers seem incomplete; try to guess time_increment_bits. */
for (ctx->time_increment_bits = 1;
ctx->time_increment_bits < 16;
ctx->time_increment_bits++) {
@@ -2111,9 +2109,6 @@ static int decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb)
} else if ((show_bits(gb, ctx->time_increment_bits + 5) & 0x1F) == 0x18)
break;
}
-
- av_log(s->avctx, AV_LOG_ERROR,
- "my guess is %d bits ;)\n", ctx->time_increment_bits);
}
if (IS_3IV1)