1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

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

View File

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