avcodec/evc_ps: use get_bits_long() where needed

Signed-off-by: James Almer <jamrial@gmail.com>
pull/389/head
James Almer 2 years ago
parent 89f98acbf8
commit 199fc04d09
  1. 4
      libavcodec/evc_ps.c

@ -104,8 +104,8 @@ static int vui_parameters(GetBitContext *gb, VUIParameters *vui)
vui->timing_info_present_flag = get_bits(gb, 1);
if (vui->timing_info_present_flag) {
vui->num_units_in_tick = get_bits(gb, 32);
vui->time_scale = get_bits(gb, 32);
vui->num_units_in_tick = get_bits_long(gb, 32);
vui->time_scale = get_bits_long(gb, 32);
vui->fixed_pic_rate_flag = get_bits(gb, 1);
}
vui->nal_hrd_parameters_present_flag = get_bits(gb, 1);

Loading…
Cancel
Save