mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/7.1
parent
d2d911eb9a
commit
510494760c
1 changed files with 11 additions and 3 deletions
Loading…
Reference in new issue