aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1enc_template.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-07-09 08:45:16 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-01 10:09:26 +0200
commit7b2bfba55db821dcb730624f34e9b62db35000ce (patch)
tree0a33b2075167050d3d236f22de72519ec62929d9 /libavcodec/ffv1enc_template.c
parent28769f6bc19ba10415405e63a06fe09f18d781b4 (diff)
downloadffmpeg-7b2bfba55db821dcb730624f34e9b62db35000ce.tar.gz
lavc/ffv1: move RangeCoder to per-slice context
Diffstat (limited to 'libavcodec/ffv1enc_template.c')
-rw-r--r--libavcodec/ffv1enc_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1enc_template.c b/libavcodec/ffv1enc_template.c
index d5fcaf0f00..1339b2bd4c 100644
--- a/libavcodec/ffv1enc_template.c
+++ b/libavcodec/ffv1enc_template.c
@@ -29,7 +29,7 @@ RENAME(encode_line)(FFV1Context *f,
int ac)
{
PlaneContext *const p = &sc->plane[plane_index];
- RangeCoder *const c = &s->c;
+ RangeCoder *const c = &sc->c;
int x;
int run_index = sc->run_index;
int run_count = 0;