24 #include "libavutil/channel_layout.h"
25 #include "libavutil/common.h"
26 #include "libavutil/opt.h"
37 return avctx->
bit_rate <= 14000 ? 30 : 20;
84 int buf_size = avpkt->
size;
89 if (s->
decoder.no_of_bytes > buf_size) {
91 buf_size, s->
decoder.no_of_bytes);
101 WebRtcIlbcfix_DecodeImpl((int16_t *) frame->
data[0], (
const uint16_t *) buf, &s->
decoder, 1);
161 #if FF_API_OLD_ENCODE_AUDIO
172 #if FF_API_OLD_ENCODE_AUDIO
187 WebRtcIlbcfix_EncodeImpl((uint16_t *) avpkt->
data, (
const int16_t *) frame->
data[0], &s->
encoder);