mirror of https://git.ffmpeg.org/ffmpeg.git
Support gsm_ms in caf files.
This commit is contained in:
parent
a7aabda267
commit
43e96d0466
|
@ -41,6 +41,7 @@ const AVCodecTag ff_codec_caf_tags[] = {
|
|||
{ CODEC_ID_ADPCM_IMA_QT, MKBETAG('i','m','a','4') },
|
||||
{ CODEC_ID_AMR_NB, MKBETAG('s','a','m','r') },
|
||||
{ CODEC_ID_GSM, MKBETAG('a','g','s','m') },
|
||||
{ CODEC_ID_GSM_MS, MKBETAG('m','s', 0, '1') },
|
||||
{ CODEC_ID_MACE3, MKBETAG('M','A','C','3') },
|
||||
{ CODEC_ID_MACE6, MKBETAG('M','A','C','6') },
|
||||
{ CODEC_ID_MP3, MKBETAG('.','m','p','3') },
|
||||
|
|
|
@ -72,6 +72,8 @@ static uint32_t samples_per_packet(enum CodecID codec_id) {
|
|||
case CODEC_ID_GSM:
|
||||
case CODEC_ID_QCELP:
|
||||
return 160;
|
||||
case CODEC_ID_GSM_MS:
|
||||
return 320;
|
||||
case CODEC_ID_MP1:
|
||||
return 384;
|
||||
case CODEC_ID_MP2:
|
||||
|
|
Loading…
Reference in New Issue