aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-27 13:54:05 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 02:30:49 +0200
commitdb09d3ed17f19a1cbbd951a1c70105c2297c6768 (patch)
treece23295985748209602190ea9873f171750c53a3
parentd0639af58ece57c12fb77a6536457d19dfc749ca (diff)
downloadffmpeg-db09d3ed17f19a1cbbd951a1c70105c2297c6768.tar.gz
avcodec/roqaudioenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/roqaudioenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c
index 9a636179b1..e794d8e0a8 100644
--- a/libavcodec/roqaudioenc.c
+++ b/libavcodec/roqaudioenc.c
@@ -195,4 +195,5 @@ const AVCodec ff_roq_dpcm_encoder = {
.capabilities = AV_CODEC_CAP_DELAY,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};