From 324fd0bc4680296ab3ebef749bae2f54a10bbac3 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 20 Feb 2026 19:51:42 +0100 Subject: [PATCH] avcodec/vvc/inter: Remove redundant variable, fix shadowing Reviewed-by: Frank Plowman Signed-off-by: Andreas Rheinhardt --- libavcodec/vvc/inter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/vvc/inter.c b/libavcodec/vvc/inter.c index 98997837ae..c259414f56 100644 --- a/libavcodec/vvc/inter.c +++ b/libavcodec/vvc/inter.c @@ -235,7 +235,6 @@ static int derive_weight(int *denom, int *w0, int *w1, int *o0, int *o1, *w0 = 8 - *w1; *o0 = *o1 = 0; } else { - const VVCPPS *pps = fc->ps.pps; const PredWeightTable *w = pps->r->pps_wp_info_in_ph_flag ? &fc->ps.ph.pwt : &sh->pwt; *denom = w->log2_denom[c_idx > 0];