History

lavc/ffv1: drop write-only PlaneContext.interlace_bit_state

Anton Khirnov committed 2 years ago

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

Showing the changes to libavcodec (2 of 2 files). Show all

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
169169 for (i = 0; i < f->plane_count; i++) {
170170 PlaneContext *p = &fs->plane[i];
171171
172− p->interlace_bit_state[0] = 128;
173− p->interlace_bit_state[1] = 128;
174−
175172 if (fs->ac != AC_GOLOMB_RICE) {
176173 if (f->initial_states[p->quant_table_index]) {
177174 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
6363 int context_count;
6464 uint8_t (*state)[CONTEXT_SIZE];
6565 VlcState *vlc_state;
66− uint8_t interlace_bit_state[2];
6766 } PlaneContext;
6867
6968 #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