avcodec/vc1_block: remove unneeded store to off in vc1_decode_p_mb_intfi()

Found while reviewing code related to coverity

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-05-18 00:43:55 +02:00
parent 992b28f572
commit d5cc21741b
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -1771,7 +1771,6 @@ static int vc1_decode_p_mb_intfi(VC1Context *v)
if (CONFIG_GRAY && (i > 3) && (s->avctx->flags & AV_CODEC_FLAG_GRAY))
continue;
v->vc1dsp.vc1_inv_trans_8x8(v->block[v->cur_blk_idx][block_map[i]]);
off = (i & 4) ? 0 : ((i & 1) * 8 + (i & 2) * 4 * s->linesize);
block_cbp |= 0xf << (i << 2);
}
} else {