mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
lavc/ffv1: drop write-only PlaneContext.interlace_bit_state
This commit is contained in:
@@ -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],
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user