diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-11-30 18:43:34 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-03 16:03:49 +0100 |
commit | 5892a55d55dcb17702eff35717ca7cafcd4dc658 (patch) | |
tree | 6927807f6d81720d2f3e90ed7d224afb8ba792d7 /libavformat | |
parent | 5e7bdbfff6b99ea61254b048605aca3cb349ddb1 (diff) | |
download | ffmpeg-5892a55d55dcb17702eff35717ca7cafcd4dc658.tar.gz |
avcodec/h264_redundant_pps_bsf: Support multiple input PPS
Up until now, the h264_redundant_pps_bsf stored the initial value
of pic_init_qp_minus26 of the most recently encountered PPS;
it also modified the slices based upon to assumption that
the most recent PPS is the PPS the slice belongs to.
Yet this assumption is flawed, as there can be several PPS
with different IDs that are visible at any given time.
If these have different pic_init_qp_minus26 values,
the output can be invalid.
Fix this by directly using the pic_init_qp_minus26 value of
the input PPS.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions