diff options
author | David Rosca <nowrep@gmail.com> | 2024-05-08 17:41:36 +0200 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-05-29 10:52:10 +0800 |
commit | 510494760cde847e4417231f10c9759d0da6cb07 (patch) | |
tree | 3f9123082f82e5bafef6276bd113b5a2768d011b /libavutil/tests/side_data_array.c | |
parent | d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba (diff) | |
download | ffmpeg-510494760cde847e4417231f10c9759d0da6cb07.tar.gz |
lavc/vaapi_h264: Fix merging fields in DPB with missing references
If there are missing references, h264 decode does error concealment
by copying previous refs which means there will be duplicated surfaces.
Check long_ref and frame_idx in addition to surface when looking for
the other field to avoid trying to merge with wrong picture.
Also allow to merge with multiple pictures in case there are duplicates
of the other field.
Signed-off-by: David Rosca <nowrep@gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavutil/tests/side_data_array.c')
0 files changed, 0 insertions, 0 deletions