diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-01 16:15:40 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 05:14:42 +0200 |
commit | a380343c759861dd958316f5d64e2d668610aa33 (patch) | |
tree | 75a4ef5d4d862e3cd1430041c5ee8cfc296c757c /libavcodec | |
parent | b3108b1cbc3ea67b80564e0b1302665125360ee9 (diff) | |
download | ffmpeg-a380343c759861dd958316f5d64e2d668610aa33.tar.gz |
avcodec/assdec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/assdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/assdec.c b/libavcodec/assdec.c index 3b1a119496..319279490c 100644 --- a/libavcodec/assdec.c +++ b/libavcodec/assdec.c @@ -23,6 +23,7 @@ #include "avcodec.h" #include "ass.h" +#include "internal.h" #include "libavutil/internal.h" #include "libavutil/mem.h" @@ -69,6 +70,7 @@ const AVCodec ff_ssa_decoder = { .id = AV_CODEC_ID_ASS, .init = ass_decode_init, .decode = ass_decode_frame, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -80,5 +82,6 @@ const AVCodec ff_ass_decoder = { .id = AV_CODEC_ID_ASS, .init = ass_decode_init, .decode = ass_decode_frame, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |