You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/gsmdec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
committed by
Andreas Rheinhardt
parent
b8c0fb34ec
commit
a257069370
@@ -121,6 +121,7 @@ const AVCodec ff_gsm_decoder = {
|
||||
.decode = gsm_decode_frame,
|
||||
.flush = gsm_flush,
|
||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_GSM_MS_DECODER
|
||||
@@ -134,5 +135,6 @@ const AVCodec ff_gsm_ms_decoder = {
|
||||
.decode = gsm_decode_frame,
|
||||
.flush = gsm_flush,
|
||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user