lavc/ffv1: drop write-only PlaneContext.interlace_bit_state

This commit is contained in:
Anton Khirnov 2024-07-08 12:46:29 +02:00
parent a411fc5a84
commit 492df65201
2 changed files with 0 additions and 4 deletions

View File

@ -169,9 +169,6 @@ void ff_ffv1_clear_slice_state(const FFV1Context *f, FFV1Context *fs)
for (i = 0; i < f->plane_count; i++) { for (i = 0; i < f->plane_count; i++) {
PlaneContext *p = &fs->plane[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 (fs->ac != AC_GOLOMB_RICE) {
if (f->initial_states[p->quant_table_index]) { if (f->initial_states[p->quant_table_index]) {
memcpy(p->state, f->initial_states[p->quant_table_index], memcpy(p->state, f->initial_states[p->quant_table_index],

View File

@ -63,7 +63,6 @@ typedef struct PlaneContext {
int context_count; int context_count;
uint8_t (*state)[CONTEXT_SIZE]; uint8_t (*state)[CONTEXT_SIZE];
VlcState *vlc_state; VlcState *vlc_state;
uint8_t interlace_bit_state[2];
} PlaneContext; } PlaneContext;
#define MAX_SLICES 1024 #define MAX_SLICES 1024