aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 12:39:10 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 02:42:26 +0200
commitcf728ce04184400846147753b35cb4865dbaa339 (patch)
tree98e02a45483e08e89abff6a4eb46c6d410867cd2
parent21b0e06981fa106964f2308935d1caa83cda7c37 (diff)
downloadffmpeg-cf728ce04184400846147753b35cb4865dbaa339.tar.gz
avcodec/midivid: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/midivid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/midivid.c b/libavcodec/midivid.c
index 69f9f4d0ec..4a3ba33f11 100644
--- a/libavcodec/midivid.c
+++ b/libavcodec/midivid.c
@@ -288,5 +288,5 @@ const AVCodec ff_mvdv_decoder = {
.flush = decode_flush,
.close = decode_close,
.capabilities = AV_CODEC_CAP_DR1,
- .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};