@ -138,6 +138,7 @@ const FFCodec ff_libopencore_amrnb_decoder = {
. p . long_name = NULL_IF_CONFIG_SMALL ( " OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) " ) ,
. p . long_name = NULL_IF_CONFIG_SMALL ( " OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) " ) ,
. p . type = AVMEDIA_TYPE_AUDIO ,
. p . type = AVMEDIA_TYPE_AUDIO ,
. p . id = AV_CODEC_ID_AMR_NB ,
. p . id = AV_CODEC_ID_AMR_NB ,
. caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE ,
. priv_data_size = sizeof ( AMRContext ) ,
. priv_data_size = sizeof ( AMRContext ) ,
. init = amr_nb_decode_init ,
. init = amr_nb_decode_init ,
. close = amr_nb_decode_close ,
. close = amr_nb_decode_close ,
@ -293,6 +294,7 @@ const FFCodec ff_libopencore_amrnb_encoder = {
. p . long_name = NULL_IF_CONFIG_SMALL ( " OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) " ) ,
. p . long_name = NULL_IF_CONFIG_SMALL ( " OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) " ) ,
. p . type = AVMEDIA_TYPE_AUDIO ,
. p . type = AVMEDIA_TYPE_AUDIO ,
. p . id = AV_CODEC_ID_AMR_NB ,
. p . id = AV_CODEC_ID_AMR_NB ,
. caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE ,
. priv_data_size = sizeof ( AMRContext ) ,
. priv_data_size = sizeof ( AMRContext ) ,
. init = amr_nb_encode_init ,
. init = amr_nb_encode_init ,
FF_CODEC_ENCODE_CB ( amr_nb_encode_frame ) ,
FF_CODEC_ENCODE_CB ( amr_nb_encode_frame ) ,
@ -379,6 +381,7 @@ const FFCodec ff_libopencore_amrwb_decoder = {
. p . id = AV_CODEC_ID_AMR_WB ,
. p . id = AV_CODEC_ID_AMR_WB ,
. p . capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF ,
. p . capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF ,
. p . wrapper_name = " libopencore_amrwb " ,
. p . wrapper_name = " libopencore_amrwb " ,
. caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE ,
. priv_data_size = sizeof ( AMRWBContext ) ,
. priv_data_size = sizeof ( AMRWBContext ) ,
. init = amr_wb_decode_init ,
. init = amr_wb_decode_init ,
. close = amr_wb_decode_close ,
. close = amr_wb_decode_close ,