aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 00:22:34 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:34:38 +0200
commit55e23c5241d572e529e271571c0ce73e60d37ec0 (patch)
treea991b4e1781bc099b68346c386b7d8413868aee6
parenta80b3e5e0eb676571763a26d063ae4e0364906da (diff)
downloadffmpeg-55e23c5241d572e529e271571c0ce73e60d37ec0.tar.gz
avcodec/dpcm: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/dpcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c
index 3bd7a3e117..d9ea23adb3 100644
--- a/libavcodec/dpcm.c
+++ b/libavcodec/dpcm.c
@@ -419,6 +419,7 @@ const AVCodec ff_ ## name_ ## _decoder = { \
.init = dpcm_decode_init, \
.decode = dpcm_decode_frame, \
.capabilities = AV_CODEC_CAP_DR1, \
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, \
}
DPCM_DECODER(AV_CODEC_ID_DERF_DPCM, derf_dpcm, "DPCM Xilam DERF");