summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-06 00:03:10 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-10 22:12:02 +0200
commitb539ed3fd553d53c11956bc7573fba259297f53d (patch)
treed0a401ea69e6f362151316ec0d137b58674364eb /libavcodec/dnxhddec.c
parent413ec81ba8303468aca1c7c83bfd1118854987d0 (diff)
avcodec/dnxhddec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r--libavcodec/dnxhddec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index b9e07a8562..c3eca7becf 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -729,4 +729,5 @@ const AVCodec ff_dnxhd_decoder = {
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS |
AV_CODEC_CAP_SLICE_THREADS,
.profiles = NULL_IF_CONFIG_SMALL(ff_dnxhd_profiles),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};