diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-01 00:35:35 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 05:14:42 +0200 |
commit | 55982b944738796829a82d7b397b26c937b87762 (patch) | |
tree | 9481c618c20ff9344b754c6adeed3bd1bf951b15 | |
parent | 30a947b8f8a56598ae799347df7922d231f09fa7 (diff) | |
download | ffmpeg-55982b944738796829a82d7b397b26c937b87762.tar.gz |
avcodec/assenc: Mark encoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/assenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/assenc.c b/libavcodec/assenc.c index c8fcf45bed..a6d107ded2 100644 --- a/libavcodec/assenc.c +++ b/libavcodec/assenc.c @@ -23,6 +23,7 @@ #include "avcodec.h" #include "ass.h" +#include "internal.h" #include "libavutil/avstring.h" #include "libavutil/internal.h" #include "libavutil/mem.h" @@ -73,6 +74,7 @@ const AVCodec ff_ssa_encoder = { .id = AV_CODEC_ID_ASS, .init = ass_encode_init, .encode_sub = ass_encode_frame, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -84,5 +86,6 @@ const AVCodec ff_ass_encoder = { .id = AV_CODEC_ID_ASS, .init = ass_encode_init, .encode_sub = ass_encode_frame, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |