1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/lagarith: Mark decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-29 17:05:49 +01:00 committed by Andreas Rheinhardt
parent 93aa9056e8
commit 67b6f5fbb5

View File

@ -29,6 +29,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "get_bits.h" #include "get_bits.h"
#include "internal.h"
#include "mathops.h" #include "mathops.h"
#include "lagarithrac.h" #include "lagarithrac.h"
#include "lossless_videodsp.h" #include "lossless_videodsp.h"
@ -721,4 +722,5 @@ const AVCodec ff_lagarith_decoder = {
.init = lag_decode_init, .init = lag_decode_init,
.decode = lag_decode_frame, .decode = lag_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
}; };