diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-07-08 13:11:52 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-01 10:09:26 +0200 |
commit | 39486a2b29dc893b295bc328c63ec138a2df3a91 (patch) | |
tree | a2f843ff0b889103e02d429c2fc07180cfd5207c /libavcodec/ffv1.c | |
parent | 492df6520128f00e341999f454ea9986da2c9a11 (diff) | |
download | ffmpeg-39486a2b29dc893b295bc328c63ec138a2df3a91.tar.gz |
lavc/ffv1: always use the main context values of plane_count/transparency
They cannot change between slices.
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r-- | libavcodec/ffv1.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 6a0aca6429..06a77c3a26 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -56,8 +56,6 @@ av_cold int ff_ffv1_init_slice_state(const FFV1Context *f, FFV1Context *fs) { int j, i; - fs->plane_count = f->plane_count; - fs->transparency = f->transparency; for (j = 0; j < f->plane_count; j++) { PlaneContext *const p = &fs->plane[j]; |