mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 11:22:14 +00:00
hevc: Use get_bits_long() in decode_vui()
Fix assertion failure. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
This commit is contained in:
parent
74cc901905
commit
920c01adce
@ -499,8 +499,8 @@ static void decode_vui(HEVCContext *s, HEVCSPS *sps)
|
||||
|
||||
vui->vui_timing_info_present_flag = get_bits1(gb);
|
||||
if (vui->vui_timing_info_present_flag) {
|
||||
vui->vui_num_units_in_tick = get_bits(gb, 32);
|
||||
vui->vui_time_scale = get_bits(gb, 32);
|
||||
vui->vui_num_units_in_tick = get_bits_long(gb, 32);
|
||||
vui->vui_time_scale = get_bits_long(gb, 32);
|
||||
vui->vui_poc_proportional_to_timing_flag = get_bits1(gb);
|
||||
if (vui->vui_poc_proportional_to_timing_flag)
|
||||
vui->vui_num_ticks_poc_diff_one_minus1 = get_ue_golomb_long(gb);
|
||||
|
Loading…
Reference in New Issue
Block a user