[FFmpeg-devel] [PATCH 14/39] lavc/ffv1: drop write-only PlaneContext.interlace_bit_state
Anton Khirnov
anton at khirnov.net
Tue Jul 16 20:11:29 EEST 2024
---
libavcodec/ffv1.c | 3 ---
libavcodec/ffv1.h | 1 -
2 files changed, 4 deletions(-)
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index a102425596..6a0aca6429 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -169,9 +169,6 @@ void ff_ffv1_clear_slice_state(const FFV1Context *f, FFV1Context *fs)
for (i = 0; i < f->plane_count; i++) {
PlaneContext *p = &fs->plane[i];
- p->interlace_bit_state[0] = 128;
- p->interlace_bit_state[1] = 128;
-
if (fs->ac != AC_GOLOMB_RICE) {
if (f->initial_states[p->quant_table_index]) {
memcpy(p->state, f->initial_states[p->quant_table_index],
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index a87c2d2a36..a3f3b30b49 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -63,7 +63,6 @@ typedef struct PlaneContext {
int context_count;
uint8_t (*state)[CONTEXT_SIZE];
VlcState *vlc_state;
- uint8_t interlace_bit_state[2];
} PlaneContext;
#define MAX_SLICES 1024
--
2.43.0
More information about the ffmpeg-devel
mailing list