Skip to content

Commit 5a8c2b2

Browse files
committed
avformat/aiff: G.728 muxing and demuxing
1 parent dee4edf commit 5a8c2b2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libavformat/aiff.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const AVCodecTag ff_codec_aiff_tags[] = {
4040
{ AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') },
4141
{ AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') },
4242
{ AV_CODEC_ID_ADPCM_G726LE, MKTAG('G','7','2','6') },
43+
{ AV_CODEC_ID_G728, MKTAG('G','7','2','8') },
4344
{ AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') },
4445
{ AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
4546
{ AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },

libavformat/aiffdec.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ static int get_aiff_header(AVFormatContext *s, int64_t size,
174174
case AV_CODEC_ID_GSM:
175175
par->block_align = 33;
176176
break;
177+
case AV_CODEC_ID_G728:
178+
par->block_align = 5;
179+
break;
177180
default:
178181
aiff->block_duration = 1;
179182
break;

0 commit comments

Comments
 (0)