History

avformat/aiff: G.728 muxing and demuxing

Peter Ross committed 1 year ago

Commit 5a8c2b21 parent dee4edf2 files · +4 −0Browse files

Unified · Split

2 files
  1. libavformat/aiff.c +1 −0
  2. libavformat/aiffdec.c +3 −0
libavformat/aiff.c+1−0
@@ -40,6 +40,7 @@ const AVCodecTag ff_codec_aiff_tags[] = { · 39 unmodified lines
40 { AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') },40 { AV_CODEC_ID_GSM, MKTAG('G','S','M',' ') },
41 { AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') },41 { AV_CODEC_ID_ADPCM_G722, MKTAG('G','7','2','2') },
42 { AV_CODEC_ID_ADPCM_G726LE, MKTAG('G','7','2','6') },42 { AV_CODEC_ID_ADPCM_G726LE, MKTAG('G','7','2','6') },
43 { AV_CODEC_ID_G728, MKTAG('G','7','2','8') },
43 { AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') },44 { AV_CODEC_ID_PCM_S16BE, MKTAG('t','w','o','s') },
44 { AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },45 { AV_CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
45 { AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },46 { AV_CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
libavformat/aiffdec.c+3−0
@@ -174,6 +174,9 @@ static int get_aiff_header(AVFormatContext *s, int64_t size, · 173 unmodified lines
174 case AV_CODEC_ID_GSM:174 case AV_CODEC_ID_GSM:
175 par->block_align = 33;175 par->block_align = 33;
176 break;176 break;
177 case AV_CODEC_ID_G728:
178 par->block_align = 5;
179 break;
177 default:180 default:
178 aiff->block_duration = 1;181 aiff->block_duration = 1;
179 break;182 break;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t