aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 21:22:15 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:13:01 +0200
commitb6a977f4bbed8546f2bbdbbbc667016d5f9c5cf6 (patch)
tree8786ce4824ab9762d25ecad5d64ff9bca608bc08
parent072d2caf427bc7f755c2f23b9d7188be4cd6cee8 (diff)
downloadffmpeg-b6a977f4bbed8546f2bbdbbbc667016d5f9c5cf6.tar.gz
avcodec/flashsvenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/flashsvenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 0b01550c1e..87119c15ea 100644
--- a/libavcodec/flashsvenc.c
+++ b/libavcodec/flashsvenc.c
@@ -266,4 +266,5 @@ const AVCodec ff_flashsv_encoder = {
.encode2 = flashsv_encode_frame,
.close = flashsv_encode_end,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};