avformat/evc: use get_bits_long() where needed

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2023-06-19 16:36:25 -03:00
parent 377da83b99
commit 048b8bdd5e
1 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,8 @@ static int evcc_parse_sps(const uint8_t *bs, int bs_size, EVCDecoderConfiguratio
sps.level_idc = get_bits(&gb, 8); sps.level_idc = get_bits(&gb, 8);
sps.toolset_idc_h = get_bits(&gb, 32); sps.toolset_idc_h = get_bits_long(&gb, 32);
sps.toolset_idc_l = get_bits(&gb, 32); sps.toolset_idc_l = get_bits_long(&gb, 32);
// 0 - monochrome // 0 - monochrome
// 1 - 4:2:0 // 1 - 4:2:0