From 67b6f5fbb5d2da2a3bcbab4bfbfe86d723be9b5b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 29 Nov 2020 17:05:49 +0100 Subject: [PATCH] avcodec/lagarith: Mark decoder as init-threadsafe Signed-off-by: Andreas Rheinhardt --- libavcodec/lagarith.c | 2 ++ 1 file changed, 2 insertions(+) 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, };