mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/lagarith: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
93aa9056e8
commit
67b6f5fbb5
@ -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,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user