You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vble: change variable to int, its slightly faster and int is preferable if no specific size is needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -41,7 +41,7 @@ typedef struct {
|
|||||||
static uint8_t vble_read_reverse_unary(GetBitContext *gb)
|
static uint8_t vble_read_reverse_unary(GetBitContext *gb)
|
||||||
{
|
{
|
||||||
/* At most we need to read 9 bits total to get indices up to 8 */
|
/* At most we need to read 9 bits total to get indices up to 8 */
|
||||||
uint8_t val = show_bits(gb, 8);
|
int val = show_bits(gb, 8);
|
||||||
|
|
||||||
if (val) {
|
if (val) {
|
||||||
val = 7 - av_log2_16bit(av_reverse[val]);
|
val = 7 - av_log2_16bit(av_reverse[val]);
|
||||||
|
Reference in New Issue
Block a user