From fee9520716da1e1eb5ddfc0c041932bf8e1ba696 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 13 Jun 2024 15:51:56 +0200 Subject: [PATCH] avcodec/rv10: Remove write-only assignments Signed-off-by: Andreas Rheinhardt --- libavcodec/rv10.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 3dcee0a065..c6baaa0269 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -498,12 +498,6 @@ static int rv10_decode_packet(AVCodecContext *avctx, const uint8_t *buf, s->rv10_first_dc_coded[0] = 0; s->rv10_first_dc_coded[1] = 0; s->rv10_first_dc_coded[2] = 0; - s->block_wrap[0] = - s->block_wrap[1] = - s->block_wrap[2] = - s->block_wrap[3] = s->b8_stride; - s->block_wrap[4] = - s->block_wrap[5] = s->mb_stride; ff_init_block_index(s); /* decode each macroblock */