diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-07-10 16:51:45 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-01 10:09:26 +0200 |
commit | e7d0f44138a7b7303ccc760d28d608893dbf7641 (patch) | |
tree | 0158d6ccc70c1ba47a1ee0c4357ba2d7606b29ae /libavcodec/ffv1enc_template.c | |
parent | 7b2bfba55db821dcb730624f34e9b62db35000ce (diff) | |
download | ffmpeg-e7d0f44138a7b7303ccc760d28d608893dbf7641.tar.gz |
lavc/ffv1enc: store per-slice rc_stat(2?) in FFV1SliceContext
Instead of the per-slice FFV1Context, which will be removed in future
commits.
Diffstat (limited to 'libavcodec/ffv1enc_template.c')
-rw-r--r-- | libavcodec/ffv1enc_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1enc_template.c b/libavcodec/ffv1enc_template.c index 1339b2bd4c..24dcf2a68e 100644 --- a/libavcodec/ffv1enc_template.c +++ b/libavcodec/ffv1enc_template.c @@ -75,8 +75,8 @@ RENAME(encode_line)(FFV1Context *f, if (ac != AC_GOLOMB_RICE) { if (s->flags & AV_CODEC_FLAG_PASS1) { - put_symbol_inline(c, p->state[context], diff, 1, s->rc_stat, - s->rc_stat2[p->quant_table_index][context]); + put_symbol_inline(c, p->state[context], diff, 1, sc->rc_stat, + sc->rc_stat2[p->quant_table_index][context]); } else { put_symbol_inline(c, p->state[context], diff, 1, NULL, NULL); } |