diff mbox series

[FFmpeg-devel,64/72] avcodec/pgssubdec: Mark decoder as init-threadsafe

Message ID 20201127174652.2838198-19-andreas.rheinhardt@gmail.com
State Accepted
Commit 6834c796366fe92b8513ca0f09e5969c60bcdc1e
Headers show
Series [FFmpeg-devel,01/45] avcodec/a64multienc: Fix memleak upon init failure
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 27, 2020, 5:46 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/pgssubdec.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index 9c59a2297f..472cd60200 100644
--- a/libavcodec/pgssubdec.c
+++ b/libavcodec/pgssubdec.c
@@ -727,4 +727,5 @@  AVCodec ff_pgssub_decoder = {
     .close          = close_decoder,
     .decode         = decode,
     .priv_class     = &pgsdec_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };