On 13/04/15 19:35, wm4 wrote:
> This seems to happen sometimes with old .avi files. They are just
> confusing and don't help anyone and use sloppy language.
> ---
> libavcodec/mpeg4videodec.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
> index 0966e07..518d117 100644
> --- a/libavcodec/mpeg4videodec.c
> +++ b/libavcodec/mpeg4videodec.c
> @@ -2097,8 +2097,6 @@ 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");
>
> for (ctx->time_increment_bits = 1;
> ctx->time_increment_bits < 16;
> @@ -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)
>
Fine for me.
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel