mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-12 19:18:44 +02:00
avcodec/dynamic_hdr10_plus: use get_bits_long() where needed
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
5b90823779
commit
7a170bd6c1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user