From 6f36a9418b9a9c1d882e25fd803fe7990195630a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 30 Nov 2020 15:48:10 +0100 Subject: [PATCH] avcodec/avuienc: Mark encoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/avuienc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c index e9e30fe7f4..a1840d1d53 100644 --- a/libavcodec/avuienc.c +++ b/libavcodec/avuienc.c @@ -100,4 +100,5 @@ const AVCodec ff_avui_encoder = { .encode2 = avui_encode_frame, .capabilities = AV_CODEC_CAP_EXPERIMENTAL, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_UYVY422, AV_PIX_FMT_NONE }, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };