aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-06-19 16:25:13 -0300
committerJames Almer <jamrial@gmail.com>2023-06-19 16:25:13 -0300
commit199fc04d09c0ba44418aefe7787ec5f9ef2fa810 (patch)
tree23e5bc8093bcc8a360756cefbab2f08b6795e0d0
parent89f98acbf8dd84cfcd357cc67e8e8b8c25f98a38 (diff)
downloadffmpeg-199fc04d09c0ba44418aefe7787ec5f9ef2fa810.tar.gz
avcodec/evc_ps: use get_bits_long() where needed
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/evc_ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/evc_ps.c b/libavcodec/evc_ps.c
index 0b8cc81d49..8d895d228b 100644
--- a/libavcodec/evc_ps.c
+++ b/libavcodec/evc_ps.c
@@ -104,8 +104,8 @@ static int vui_parameters(GetBitContext *gb, VUIParameters *vui)
vui->timing_info_present_flag = get_bits(gb, 1);
if (vui->timing_info_present_flag) {
- vui->num_units_in_tick = get_bits(gb, 32);
- vui->time_scale = get_bits(gb, 32);
+ vui->num_units_in_tick = get_bits_long(gb, 32);
+ vui->time_scale = get_bits_long(gb, 32);
vui->fixed_pic_rate_flag = get_bits(gb, 1);
}
vui->nal_hrd_parameters_present_flag = get_bits(gb, 1);