aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-27 14:21:44 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 02:34:46 +0200
commit6834c796366fe92b8513ca0f09e5969c60bcdc1e (patch)
treeac95cf3f10dc36fdbdbe6c1682d7188d11b07a8c
parentf8667163dd50467408db0d29ced2d478c8dabcb2 (diff)
downloadffmpeg-6834c796366fe92b8513ca0f09e5969c60bcdc1e.tar.gz
avcodec/pgssubdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/pgssubdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index 8b088bda8f..55eda4c2a9 100644
--- a/libavcodec/pgssubdec.c
+++ b/libavcodec/pgssubdec.c
@@ -713,4 +713,5 @@ const AVCodec ff_pgssub_decoder = {
.close = close_decoder,
.decode = decode,
.priv_class = &pgsdec_class,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};