diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-11-19 10:19:50 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-11-19 10:19:50 +0100 |
commit | a5d4e94a97a692e55fa47d8a60f79fb827d15315 (patch) | |
tree | 4d40d380a61ddbb8c876ddbda59281c4ec673a97 | |
parent | ba353436a375b92659366aeec8c0139da08f8a0b (diff) | |
download | ffmpeg-a5d4e94a97a692e55fa47d8a60f79fb827d15315.tar.gz |
Support iLBC in caf.
-rw-r--r-- | libavformat/caf.c | 1 | ||||
-rw-r--r-- | libavformat/cafenc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/caf.c b/libavformat/caf.c index 5f490d82d6..c1ecc94425 100644 --- a/libavformat/caf.c +++ b/libavformat/caf.c @@ -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') }, diff --git a/libavformat/cafenc.c b/libavformat/cafenc.c index cc39a8341c..92b61c9e1e 100644 --- a/libavformat/cafenc.c +++ b/libavformat/cafenc.c @@ -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: |