ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Tue Apr 14 
14:17:07 2015 +0200| [4ba662b0320b36c1c3a28a9e10ddff861479e918] | committer: 
Michael Niedermayer

avcodec/mpeg4videodec: Improve wording of the missing header warning  messages

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ba662b0320b36c1c3a28a9e10ddff861479e918
---

 libavcodec/mpeg4videodec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 8be68c6..664fd81 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2242,7 +2242,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_WARNING,
-               "hmm, seems the headers are not complete, trying to guess 
time_increment_bits\n");
+               "time_increment_bits %d is invalid in relation to the current 
bitstream, this is likely caused by a missing VOL header\n", 
ctx->time_increment_bits);
 
         for (ctx->time_increment_bits = 1;
              ctx->time_increment_bits < 16;
@@ -2257,7 +2257,7 @@ static int decode_vop_header(Mpeg4DecContext *ctx, 
GetBitContext *gb)
         }
 
         av_log(s->avctx, AV_LOG_WARNING,
-               "my guess is %d bits ;)\n", ctx->time_increment_bits);
+               "time_increment_bits set to %d bits, based on bitstream 
analysis\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;
             s->avctx->time_base = av_inv_q(av_mul_q(s->avctx->framerate, 
(AVRational){s->avctx->ticks_per_frame, 1}));

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to