diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-11-07 00:35:51 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-11-12 04:39:14 +0100 |
commit | 73b03249133d6631520089798087cbd963eed9ca (patch) | |
tree | da14cea150ea3343951a7a636c36c05f4b6d7a4b | |
parent | 5f2c8315b3c1b28da0386fddb118ad6a0ed77a0c (diff) | |
download | ffmpeg-streaming-73b03249133d6631520089798087cbd963eed9ca.zip ffmpeg-streaming-73b03249133d6631520089798087cbd963eed9ca.tar.gz |
aiff: Support demuxing G.722 streams
-rw-r--r-- | libavformat/aiff.h | 1 | ||||
-rw-r--r-- | libavformat/aiffdec.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/aiff.h b/libavformat/aiff.h index f88f957..4ed135b 100644 --- a/libavformat/aiff.h +++ b/libavformat/aiff.h @@ -42,6 +42,7 @@ static const AVCodecTag ff_codec_aiff_tags[] = { { AV_CODEC_ID_MACE3, MKTAG('M','A','C','3') }, { AV_CODEC_ID_MACE6, MKTAG('M','A','C','6') }, { AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') }, + { AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') }, { AV_CODEC_ID_ADPCM_G726, MKTAG('G','7','2','6') }, { AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') }, { AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') }, diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index 04cca5d..fc0b7eb 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -136,6 +136,7 @@ static unsigned int get_aiff_header(AVFormatContext *s, int size, case AV_CODEC_ID_MACE3: codec->block_align = 2*codec->channels; break; + case AV_CODEC_ID_ADPCM_G722: case AV_CODEC_ID_MACE6: codec->block_align = 1*codec->channels; break; |