105
105
AVCodec ff_comfortnoise_encoder = {
107
108
.type = AVMEDIA_TYPE_AUDIO,
108
109
.id = AV_CODEC_ID_COMFORT_NOISE,
109
110
.priv_data_size = sizeof(CNGContext),
111
112
.encode2 = cng_encode_frame,
112
113
.close = cng_encode_close,
114
114
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,