Commit 55982b94 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt Committed by Andreas Rheinhardt

avcodec/assenc: Mark encoders as init-threadsafe

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 30a947b8
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment