From 048b8bdd5eb4add7ba839b98ed717fe85b890c50 Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 19 Jun 2023 16:36:25 -0300 Subject: [PATCH] avformat/evc: use get_bits_long() where needed Signed-off-by: James Almer --- libavformat/evc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/evc.c b/libavformat/evc.c index ba949ebf6e..a194da1c39 100644 --- a/libavformat/evc.c +++ b/libavformat/evc.c @@ -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.toolset_idc_h = get_bits(&gb, 32); - sps.toolset_idc_l = get_bits(&gb, 32); + sps.toolset_idc_h = get_bits_long(&gb, 32); + sps.toolset_idc_l = get_bits_long(&gb, 32); // 0 - monochrome // 1 - 4:2:0