Fix init_get_bits length argument for init_get_bits.
Do not use rlelen for buffer size in init_get_bits, it is only the size of the data for the first field. Since it is not reliable, just use the size of the whole buffer. Additional comments add removal of unused rlelen variable by Reimar Döffinger.
Showing
Please
register
or
sign in
to comment