ffmpeg | branch: master | James Almer <jamr...@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 <jamr...@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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to