aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-12-06 13:36:37 -0300
committerJames Almer <jamrial@gmail.com>2020-12-06 13:56:05 -0300
commit7a170bd6c14b17c7972d11deb9fbd6cfa2131256 (patch)
treedfbc123f12f5f8bf5e855c97c09dd0929e806330
parent5b9082377967351495d31ac924d93bf7df2e02a6 (diff)
downloadffmpeg-7a170bd6c14b17c7972d11deb9fbd6cfa2131256.tar.gz
avcodec/dynamic_hdr10_plus: use get_bits_long() where needed
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/dynamic_hdr10_plus.c2
1 files changed, 1 insertions, 1 deletions
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) {