From 9b532ace0292711c837a801d535ddd029a08e876 Mon Sep 17 00:00:00 2001 From: Nuo Mi Date: Sun, 16 Jun 2024 23:44:23 -0400 Subject: [PATCH] avcodec/vvcdec: misc, remove unused ALFParams.applied --- libavcodec/vvc/ctu.h | 2 -- libavcodec/vvc/filter.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/libavcodec/vvc/ctu.h b/libavcodec/vvc/ctu.h index a987328d81..432dbc5ade 100644 --- a/libavcodec/vvc/ctu.h +++ b/libavcodec/vvc/ctu.h @@ -461,8 +461,6 @@ typedef struct ALFParams { uint8_t ctb_filt_set_idx_y; ///< AlfCtbFiltSetIdxY uint8_t alf_ctb_filter_alt_idx[2]; ///< alf_ctb_filter_alt_idx[] uint8_t ctb_cc_idc[2]; ///< alf_ctb_cc_cb_idc, alf_ctb_cc_cr_idc - - uint8_t applied[3]; } ALFParams; /** diff --git a/libavcodec/vvc/filter.c b/libavcodec/vvc/filter.c index 546ec75c65..e6c0e89989 100644 --- a/libavcodec/vvc/filter.c +++ b/libavcodec/vvc/filter.c @@ -1118,8 +1118,6 @@ void ff_vvc_alf_filter(VVCLocalContext *lc, const int x0, const int y0) alf_filter_cc(lc, src, padded, src_stride, padded_stride, c_idx, width, height, hs, vs, (ctb_size_v << vs) - ALF_VB_POS_ABOVE_LUMA, alf); } - - alf->applied[c_idx] = 1; } }