1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Support iLBC in caf.

This commit is contained in:
Carl Eugen Hoyos 2012-11-19 10:19:50 +01:00
parent ba353436a3
commit a5d4e94a97
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ const AVCodecTag ff_codec_caf_tags[] = {
/*{ AV_CODEC_ID_DVAUDIO, MKTAG('d','v','c','a') },*/
{ AV_CODEC_ID_GSM, MKTAG('a','g','s','m') },
{ AV_CODEC_ID_GSM_MS, MKTAG('m','s', 0, '1') },
{ AV_CODEC_ID_ILBC, MKTAG('i','l','b','c') },
{ AV_CODEC_ID_MACE3, MKTAG('M','A','C','3') },
{ AV_CODEC_ID_MACE6, MKTAG('M','A','C','6') },
{ AV_CODEC_ID_MP1, MKTAG('.','m','p','1') },

View File

@ -75,6 +75,7 @@ static uint32_t samples_per_packet(enum AVCodecID codec_id, int channels) {
return 64;
case AV_CODEC_ID_AMR_NB:
case AV_CODEC_ID_GSM:
case AV_CODEC_ID_ILBC:
case AV_CODEC_ID_QCELP:
return 160;
case AV_CODEC_ID_GSM_MS: