[FFmpeg-cvslog] avcodec/mdec: Remove write-only block_last_index
Andreas Rheinhardt
git at videolan.org
Sun Mar 16 05:31:02 EET 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Mar 7 03:34:02 2025 +0100| [de562e8069d9befff1e775de5c05dca8eb536d10] | committer: Andreas Rheinhardt
avcodec/mdec: Remove write-only block_last_index
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de562e8069d9befff1e775de5c05dca8eb536d10
---
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;
}
More information about the ffmpeg-cvslog
mailing list