aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 23:55:40 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:29:55 +0200
commit24bc6ea28f5b6a3f0c2afe0ab4460cc9d75beff4 (patch)
tree5985b50c9e5d1ce3cddc6bc504f4d565f1356467
parent1dab5699cac99ecddf65d010b581e1f216bff6d5 (diff)
downloadffmpeg-24bc6ea28f5b6a3f0c2afe0ab4460cc9d75beff4.tar.gz
avcodec/dvdsubenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/dvdsubenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c
index cbea4e372c..ff4fbed39d 100644
--- a/libavcodec/dvdsubenc.c
+++ b/libavcodec/dvdsubenc.c
@@ -502,4 +502,5 @@ const AVCodec ff_dvdsub_encoder = {
.encode_sub = dvdsub_encode,
.priv_class = &dvdsubenc_class,
.priv_data_size = sizeof(DVDSubtitleContext),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};