diff options
author | Frank Plowman <post@frankplowman.com> | 2024-06-27 18:53:14 +0100 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-06-28 21:37:40 +0800 |
commit | 83b77990c6a3dc1d5840afbe894b0fdaeea40a3f (patch) | |
tree | 472e7aadf976369cb102029d3fbc45bc83e08ed0 /libavcodec/x86/cfhddsp_init.c | |
parent | 1fb77347c8d96f4feff8f9328b40e6ee71191ac1 (diff) | |
download | ffmpeg-83b77990c6a3dc1d5840afbe894b0fdaeea40a3f.tar.gz |
lavc/vvc: Always set flags for the current picture
ff_vvc_frame_rpl uses the flags to detect whether a frame is in use.
Therefore, in the case of a CVSS AU (RASL/GDR with
NoOutputBeforeRecoveryFlag) with ph_non_ref_pic_flag = 1, the frame
would be freed before it is used. Fix this by always marking the
current frame with VVC_FRAME_FLAG_SHORT_REF, as is done by the HEVC
decoder.
Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'libavcodec/x86/cfhddsp_init.c')
0 files changed, 0 insertions, 0 deletions