avcodec/ffv1enc: dont reset version

resetting the version causes any previously set values to be disregarded

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2025-01-18 04:27:34 +01:00
parent 0c237d6e8a
commit 497b205ad5
No known key found for this signature in database
GPG key ID: B18E8928B3948D64

View file

@ -914,7 +914,6 @@ static int encode_init_internal(AVCodecContext *avctx)
} }
} }
s->version = 0;
ret = ff_ffv1_encode_init(avctx); ret = ff_ffv1_encode_init(avctx);
if (ret < 0) if (ret < 0)