aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-06-19 16:36:25 -0300
committerJames Almer <jamrial@gmail.com>2023-06-19 17:21:19 -0300
commit048b8bdd5eb4add7ba839b98ed717fe85b890c50 (patch)
treeba816f6780cf0d1765bfc9c9343ac4c0aca16ac4 /libavformat
parent377da83b995ade45c31af7278a6502ee39ca1a10 (diff)
downloadffmpeg-048b8bdd5eb4add7ba839b98ed717fe85b890c50.tar.gz
avformat/evc: use get_bits_long() where needed
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/evc.c4
1 files 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