diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-18 00:43:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-28 03:48:08 +0200 |
commit | d5cc21741b9c2c28f8436f0a1e27687794d63ab1 (patch) | |
tree | bb3056da2dd4838845c7859da0513247b766f624 | |
parent | 992b28f57281e9f9485c7159dd9ad6964858cf38 (diff) | |
download | ffmpeg-d5cc21741b9c2c28f8436f0a1e27687794d63ab1.tar.gz |
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>
-rw-r--r-- | libavcodec/vc1_block.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/vc1_block.c b/libavcodec/vc1_block.c index 1e8e294ad8..322acebfe5 100644 --- a/libavcodec/vc1_block.c +++ b/libavcodec/vc1_block.c @@ -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 { |