From 62559a9e00b2c3a1b2c6550f60b3fae53bc2b40a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 2 Dec 2020 19:19:42 +0100 Subject: [PATCH] avcodec/ffv1enc: Mark encoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/ffv1enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 98abd936cd..4df10d3e75 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -1310,5 +1310,5 @@ const AVCodec ff_ffv1_encoder = { }, .priv_class = &ffv1_class, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, };