Unified · Split
| @@ -169,9 +169,6 @@ void ff_ffv1_clear_slice_state(const FFV1Context *f, FFV1Context *fs) · 168 unmodified lines | |||
| 169 | for (i = 0; i < f->plane_count; i++) { | 169 | for (i = 0; i < f->plane_count; i++) { |
| 170 | PlaneContext *p = &fs->plane[i]; | 170 | PlaneContext *p = &fs->plane[i]; |
| 171 | 171 | ||
| 172 | p->interlace_bit_state[0] = 128; | ||
| 173 | p->interlace_bit_state[1] = 128; | ||
| 174 | |||
| 175 | if (fs->ac != AC_GOLOMB_RICE) { | 172 | if (fs->ac != AC_GOLOMB_RICE) { |
| 176 | if (f->initial_states[p->quant_table_index]) { | 173 | if (f->initial_states[p->quant_table_index]) { |
| 177 | memcpy(p->state, f->initial_states[p->quant_table_index], | 174 | memcpy(p->state, f->initial_states[p->quant_table_index], |
| @@ -63,7 +63,6 @@ typedef struct PlaneContext { · 62 unmodified lines | |||
| 63 | int context_count; | 63 | int context_count; |
| 64 | uint8_t (*state)[CONTEXT_SIZE]; | 64 | uint8_t (*state)[CONTEXT_SIZE]; |
| 65 | VlcState *vlc_state; | 65 | VlcState *vlc_state; |
| 66 | uint8_t interlace_bit_state[2]; | ||
| 67 | } PlaneContext; | 66 | } PlaneContext; |
| 68 | 67 | ||
| 69 | #define MAX_SLICES 1024 | 68 | #define MAX_SLICES 1024 |