mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01: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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user