History

lavc/ffv1: drop write-only PlaneContext.interlace_bit_state

Anton Khirnov committed 2 years ago

Commit 492df651 parent a411fc52 files · +0 −4Browse files

Unified · Split

2 files
  1. libavcodec/ffv1.c +0 −3
  2. libavcodec/ffv1.h +0 −1
libavcodec/ffv1.c+0−3
@@ -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],
libavcodec/ffv1.h+0−1
@@ -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 102468#define MAX_SLICES 1024

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t