[FFmpeg-cvslog] avcodec/evc_ps: use get_bits_long() where needed

James Almer git at videolan.org
Mon Jun 19 23:27:55 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Jun 19 16:25:13 2023 -0300| [199fc04d09c0ba44418aefe7787ec5f9ef2fa810] | committer: James Almer

avcodec/evc_ps: use get_bits_long() where needed

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=199fc04d09c0ba44418aefe7787ec5f9ef2fa810
---

 libavcodec/evc_ps.c | 4 ++--
 1 file 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);



More information about the ffmpeg-cvslog mailing list