aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vvc/thread.c
diff options
context:
space:
mode:
authorNuo Mi <nuomi2021@gmail.com>2024-05-19 21:27:38 +0800
committerNuo Mi <nuomi2021@gmail.com>2024-05-21 20:20:25 +0800
commit66c6bee061d360bcd3a089e361ec0d0fcbbd2e26 (patch)
treec32cf7b72d616a28a2ffc1795ed5e3c4365cbef3 /libavcodec/vvc/thread.c
parent44bbafb69fa64d8cc2f655da00edf2eb1ecae2ea (diff)
downloadffmpeg-66c6bee061d360bcd3a089e361ec0d0fcbbd2e26.tar.gz
avcodec/vvcdec: refact out VVCRefPic from RefPicList
Diffstat (limited to 'libavcodec/vvc/thread.c')
-rw-r--r--libavcodec/vvc/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vvc/thread.c b/libavcodec/vvc/thread.c
index 3b27811db2..2654b40058 100644
--- a/libavcodec/vvc/thread.c
+++ b/libavcodec/vvc/thread.c
@@ -294,7 +294,7 @@ static void schedule_inter(VVCContext *s, VVCFrameContext *fc, const SliceContex
for (int lx = 0; lx < 2; lx++) {
for (int i = 0; i < sh->r->num_ref_idx_active[lx]; i++) {
const int y = ctu->max_y[lx][i];
- VVCFrame *ref = sc->rpl[lx].ref[i];
+ VVCFrame *ref = sc->rpl[lx].refs[i].ref;
if (ref && y >= 0)
add_progress_listener(ref, &t->listener[lx][i], t, s, VVC_PROGRESS_PIXEL, y + LUMA_EXTRA_AFTER);
}