diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-09 22:25:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-18 19:58:56 +0200 |
commit | 6aad1204ccea90113d19a8b829c8b81891f9474e (patch) | |
tree | 8610a6ee598d1ff4cbf8225877a11b4c6713a244 /libavcodec/libilbc.c | |
parent | c597510434f2950df09d218106279c880bdc146c (diff) | |
download | ffmpeg-6aad1204ccea90113d19a8b829c8b81891f9474e.tar.gz |
avcodec: Add FF_CODEC_CAP_NOT_INIT_THREADSAFE
This is in preparation of switching the default init-thread-safety
to a codec being init-thread-safe.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/libilbc.c')
-rw-r--r-- | libavcodec/libilbc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c index a7b1eaf28c..0b6b1fbb24 100644 --- a/libavcodec/libilbc.c +++ b/libavcodec/libilbc.c @@ -122,6 +122,7 @@ const FFCodec ff_libilbc_decoder = { .p.long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"), .p.type = AVMEDIA_TYPE_AUDIO, .p.id = AV_CODEC_ID_ILBC, + .caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE, .priv_data_size = sizeof(ILBCDecContext), .init = ilbc_decode_init, FF_CODEC_DECODE_CB(ilbc_decode_frame), @@ -204,6 +205,7 @@ const FFCodec ff_libilbc_encoder = { .p.long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"), .p.type = AVMEDIA_TYPE_AUDIO, .p.id = AV_CODEC_ID_ILBC, + .caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE, .priv_data_size = sizeof(ILBCEncContext), .init = ilbc_encode_init, FF_CODEC_ENCODE_CB(ilbc_encode_frame), |