aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-07-07 19:46:20 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-01 10:09:25 +0200
commit19e9f3d5f2457da9b0b9b3d60f2df454580f9f21 (patch)
treeaa490d525628d8920f71dcbe7e4e9f3260f6fe58 /libavcodec/ffv1.h
parent91d3c1ac47d4a2b1455945b6131a44cdc5e7f425 (diff)
downloadffmpeg-19e9f3d5f2457da9b0b9b3d60f2df454580f9f21.tar.gz
lavc/ffv1: move run_index to the per-slice context
Diffstat (limited to 'libavcodec/ffv1.h')
-rw-r--r--libavcodec/ffv1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index ccb510a483..68d13a2964 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -77,6 +77,8 @@ typedef struct FFV1SliceContext {
int slice_height;
int slice_x;
int slice_y;
+
+ int run_index;
} FFV1SliceContext;
typedef struct FFV1Context {
@@ -109,7 +111,6 @@ typedef struct FFV1Context {
int context_count[MAX_QUANT_TABLES];
uint8_t state_transition[256];
uint8_t (*initial_states[MAX_QUANT_TABLES])[32];
- int run_index;
int colorspace;
int use32bit;