summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 20:15:25 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 04:11:32 +0200
commita2ba5bcb56d8f548dc65bcc62f084051e543b85c (patch)
tree3ef169a648a7f2890568c7215d0df55df188fdb9
parent28b63eb005de024e70ea114ee198080d38b18383 (diff)
avcodec/v210dec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/v210dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 868822e298..fe63518c3c 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -226,4 +226,5 @@ const AVCodec ff_v210_decoder = {
AV_CODEC_CAP_SLICE_THREADS |
AV_CODEC_CAP_FRAME_THREADS,
.priv_class = &v210dec_class,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};