From 6834c796366fe92b8513ca0f09e5969c60bcdc1e Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 27 Nov 2020 14:21:44 +0100 Subject: [PATCH] avcodec/pgssubdec: Mark decoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/pgssubdec.c | 1 + 1 file changed, 1 insertion(+) 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, };