Benjamin Larsson <[email protected]> writes:

> +    ctx->frame_num = get_bits1(&ctx->gb) ? get_bits_long(&ctx->gb, 20) : 0;
>
> This might not need the _long() version of the function.

It does indeed not.  _long() is needed for >25 bits.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to