Revision 50d83b20
libavformat/riff.c | ||
---|---|---|
298 | 298 |
{ CODEC_ID_IMC, 0x0401 }, |
299 | 299 |
{ CODEC_ID_GSM_MS, 0x1500 }, |
300 | 300 |
{ CODEC_ID_TRUESPEECH, 0x1501 }, |
301 |
{ CODEC_ID_AAC_LATM, 0x1602 }, |
|
301 | 302 |
{ CODEC_ID_AC3, 0x2000 }, |
302 | 303 |
{ CODEC_ID_DTS, 0x2001 }, |
303 | 304 |
{ CODEC_ID_SONIC, 0x2048 }, |
... | ... | |
515 | 516 |
url_fskip(pb, size); |
516 | 517 |
} |
517 | 518 |
codec->codec_id = ff_wav_codec_get_id(id, codec->bits_per_coded_sample); |
519 |
if (codec->codec_id == CODEC_ID_AAC_LATM) { |
|
520 |
/* channels and sample_rate values are those prior to applying SBR and/or PS */ |
|
521 |
codec->channels = 0; |
|
522 |
codec->sample_rate = 0; |
|
523 |
} |
|
518 | 524 |
} |
519 | 525 |
|
520 | 526 |
|
Also available in: Unified diff