From 703abb3c0e762a174bac9668fa4502932b29d43f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 26 Nov 2020 18:08:38 +0100 Subject: [PATCH] avcodec/xsubenc: Mark decoder as init-threadsafe Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- libavcodec/xsubenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/xsubenc.c b/libavcodec/xsubenc.c index 58be5e6deb..ad7144db2d 100644 --- a/libavcodec/xsubenc.c +++ b/libavcodec/xsubenc.c @@ -22,6 +22,7 @@ #include "avcodec.h" #include "bytestream.h" +#include "internal.h" #include "put_bits.h" /** @@ -230,4 +231,5 @@ AVCodec ff_xsub_encoder = { .id = AV_CODEC_ID_XSUB, .init = xsub_encoder_init, .encode_sub = xsub_encode, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };