mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-24 02:09:03 +03:00
avcodec/evc_ps: store dpb_output_delay_length_minus1 in hrd_parameters
hrd_parameters() read the third 5-bit length field into cpb_removal_delay_length_minus1 a second time, overwriting the value just read, and never set dpb_output_delay_length_minus1, which the struct declares in that order (as HEVC does). Bit positions are unchanged, and nothing currently reads these fields. Tested: make fate passes, including fate-lavf-fate-evc.mp4. Signed-off-by: romainhedouin <romain.hedouin@epitech.eu>
This commit is contained in:
committed by
James Almer
parent
97801e53f0
commit
3d1bdd7718
@@ -70,7 +70,7 @@ static int hrd_parameters(GetBitContext *gb, HRDParameters *hrd)
|
||||
}
|
||||
hrd->initial_cpb_removal_delay_length_minus1 = get_bits(gb, 5);
|
||||
hrd->cpb_removal_delay_length_minus1 = get_bits(gb, 5);
|
||||
hrd->cpb_removal_delay_length_minus1 = get_bits(gb, 5);
|
||||
hrd->dpb_output_delay_length_minus1 = get_bits(gb, 5);
|
||||
hrd->time_offset_length = get_bits(gb, 5);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user