avoid reading the next byte ahead
It may not be in the end of the buffer anymore.
The byte value used was always equivalent to
state->start[state->byte_position] << state->bit_position
Also constify the read buffer.
It may not be in the end of the buffer anymore.
The byte value used was always equivalent to
state->start[state->byte_position] << state->bit_position
Also constify the read buffer.
VideoLAN code repository instance