[FFmpeg-cvslog] avformat/evc: use get_bits_long() where needed

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


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

avformat/evc: 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=048b8bdd5eb4add7ba839b98ed717fe85b890c50
---

 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



More information about the ffmpeg-cvslog mailing list