From 9c71ed0300745b2b3ff1325a3c44b4df8f90bff0 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Date: Fri, 7 Mar 2025 03:34:02 +0100
Subject: [PATCH 5/9] avcodec/mdec: Remove write-only block_last_index

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/mdec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index 5ab40719ac..66331d9059 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -56,7 +56,6 @@ typedef struct MDECContext {
     DECLARE_ALIGNED(16, uint16_t, quant_matrix)[64];
     uint8_t *bitstream_buffer;
     unsigned int bitstream_buffer_size;
-    int block_last_index[6];
 } MDECContext;
 
 //very similar to MPEG-1
@@ -126,7 +125,6 @@ static inline int mdec_decode_block_intra(MDECContext *a, int16_t *block, int n)
         }
         CLOSE_READER(re, &a->gb);
     }
-    a->block_last_index[n] = i;
     return 0;
 }
 
-- 
2.45.2