[FFmpeg-cvslog] avcodec/rv10: Remove write-only assignments

Andreas Rheinhardt git at videolan.org
Thu Jun 20 20:01:20 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Jun 13 15:51:56 2024 +0200| [fee9520716da1e1eb5ddfc0c041932bf8e1ba696] | committer: Andreas Rheinhardt

avcodec/rv10: Remove write-only assignments

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fee9520716da1e1eb5ddfc0c041932bf8e1ba696
---

 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 */



More information about the ffmpeg-cvslog mailing list