On Wed, Jan 11, 2017 at 06:10:03PM +0100, Diego Biurrun wrote:
> --- a/libavformat/takdec.c
> +++ b/libavformat/takdec.c
> @@ -135,12 +136,12 @@ static int tak_read_header(AVFormatContext *s)
>              tc->mlast_frame = 1;
> -            tc->data_end    = get_bits64(&gb, TAK_LAST_FRAME_POS_BITS) +
> -                              get_bits(&gb, TAK_LAST_FRAME_SIZE_BITS);
> +            tc->data_end    = bitstream_read(&bc, TAK_LAST_FRAME_POS_BITS) +
> +                              bitstream_read_63(&bc, 
> TAK_LAST_FRAME_SIZE_BITS);

Pushing with that _63 inversion fixed.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to