aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 17:05:49 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 02:49:31 +0200
commit67b6f5fbb5d2da2a3bcbab4bfbfe86d723be9b5b (patch)
tree6af682f385db8bd45c8a4941ce0611e7e9747eb7
parent93aa9056e81f58e00cd3a3252eaa63733bb50dac (diff)
downloadffmpeg-67b6f5fbb5d2da2a3bcbab4bfbfe86d723be9b5b.tar.gz
avcodec/lagarith: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/lagarith.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index 69899e423e..3b5e956f16 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "get_bits.h"
+#include "internal.h"
#include "mathops.h"
#include "lagarithrac.h"
#include "lossless_videodsp.h"
@@ -721,4 +722,5 @@ const AVCodec ff_lagarith_decoder = {
.init = lag_decode_init,
.decode = lag_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};