mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-18 16:40:23 +00:00
avcodec/vvc/inter: Remove redundant variable, fix shadowing
Reviewed-by: Frank Plowman <post@frankplowman.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
6777d5cd48
commit
324fd0bc46
1 changed files with 0 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue