mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
avcodec/pcm: Mark decoders as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
5634ce234a
commit
5ff030f922
@ -575,6 +575,7 @@ AVCodec ff_ ## name_ ## _decoder = { \
|
||||
.capabilities = AV_CODEC_CAP_DR1, \
|
||||
.sample_fmts = (const enum AVSampleFormat[]){ sample_fmt_, \
|
||||
AV_SAMPLE_FMT_NONE }, \
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, \
|
||||
}
|
||||
|
||||
#define PCM_DECODER_2(cf, id, sample_fmt, name, long_name) \
|
||||
|
Loading…
Reference in New Issue
Block a user