aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nsvdec.c
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2024-09-15 12:54:16 +0800
committerNuo Mi <nuomi2021@gmail.com>2024-09-15 16:42:14 +0800
commit5c66a3ab51807b0f471822ae261dd6b09030a439 (patch)
tree013c00ed841753ec7697363347f6979534af616f /libavformat/nsvdec.c
parent3f84d1d1fb75e4192c35664b4dd4741e8381b667 (diff)
downloadffmpeg-5c66a3ab51807b0f471822ae261dd6b09030a439.tar.gz
avcodec/vvc: Fix output and unref a frame which isn't decoding yet
ff_vvc_output_frame is called before actually decoding. It's possible for ff_vvc_output_frame to select current frame to output. If current frame is nonref frame, it will be released by ff_vvc_unref_frame. Fix this by always marking the current frame with VVC_FRAME_FLAG_SHORT_REF, as is done by the HEVC decoder.
Diffstat (limited to 'libavformat/nsvdec.c')
0 files changed, 0 insertions, 0 deletions