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

James Almer git at videolan.org
Sun Dec 6 18:56:38 EET 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Dec  6 13:36:37 2020 -0300| [7a170bd6c14b17c7972d11deb9fbd6cfa2131256] | committer: James Almer

avcodec/dynamic_hdr10_plus: 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=7a170bd6c14b17c7972d11deb9fbd6cfa2131256
---

 libavcodec/dynamic_hdr10_plus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dynamic_hdr10_plus.c b/libavcodec/dynamic_hdr10_plus.c
index 5684bfb2ef..bf0d085b8f 100644
--- a/libavcodec/dynamic_hdr10_plus.c
+++ b/libavcodec/dynamic_hdr10_plus.c
@@ -74,7 +74,7 @@ int ff_parse_itu_t_t35_to_dynamic_hdr10_plus(GetBitContext *gb, AVDynamicHDRPlus
         return AVERROR(EINVAL);
 
     s->targeted_system_display_maximum_luminance =
-        (AVRational){get_bits(gb, 27), luminance_den};
+        (AVRational){get_bits_long(gb, 27), luminance_den};
     s->targeted_system_display_actual_peak_luminance_flag = get_bits1(gb);
 
     if (s->targeted_system_display_actual_peak_luminance_flag) {



More information about the ffmpeg-cvslog mailing list