[FFmpeg-cvslog] avcodec/vc1_block: remove unneeded store to off in vc1_decode_p_mb_intfi()
Michael Niedermayer
git at videolan.org
Tue May 28 04:51:13 EEST 2024
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat May 18 00:43:55 2024 +0200| [d5cc21741b9c2c28f8436f0a1e27687794d63ab1] | committer: Michael Niedermayer
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 at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5cc21741b9c2c28f8436f0a1e27687794d63ab1
---
libavcodec/vc1_block.c | 1 -
1 file changed, 1 deletion(-)
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 {
More information about the ffmpeg-cvslog
mailing list