aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-07-08 13:11:52 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-01 10:09:26 +0200
commit39486a2b29dc893b295bc328c63ec138a2df3a91 (patch)
treea2f843ff0b889103e02d429c2fc07180cfd5207c /libavcodec/ffv1.c
parent492df6520128f00e341999f454ea9986da2c9a11 (diff)
downloadffmpeg-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.c2
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];