mirror of https://git.ffmpeg.org/ffmpeg.git
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