On 14/05/16 11:45, Alexandra Hájková wrote:
> ---
>  libavcodec/dnxhddec.c | 44 +++++++++++++++++++-------------------------
>  1 file changed, 19 insertions(+), 25 deletions(-)

>          ctx->last_dc[2] = 1 << (ctx->bit_depth + 2); // for levels 
> +2^(bitdepth-1)
> -        init_get_bits(&ctx->gb, buf + ctx->mb_scan_index[y], (buf_size - 
> ctx->mb_scan_index[y]) << 3);
> +        bitstream_init(&ctx->bb, buf + ctx->mb_scan_index[y], (buf_size - 
> ctx->mb_scan_index[y]) << 3);

this can be converted to init8 as well while at it.

lu

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to