diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-07-08 12:46:29 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-01 10:09:26 +0200 |
commit | 492df6520128f00e341999f454ea9986da2c9a11 (patch) | |
tree | 9ad76138e8ecaebebfec1429e0585f85e7d3a28d | |
parent | a411fc5a84367b679de38ad07adb0ef351ca35d8 (diff) | |
download | ffmpeg-492df6520128f00e341999f454ea9986da2c9a11.tar.gz |
lavc/ffv1: drop write-only PlaneContext.interlace_bit_state
-rw-r--r-- | libavcodec/ffv1.c | 3 | ||||
-rw-r--r-- | libavcodec/ffv1.h | 1 |
2 files changed, 0 insertions, 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 |