decoder/ffmpeg: add support for adx

Add ffmpeg decoder support for *.adx files (Sega game console)

Closes #60
This commit is contained in:
Jörg Raftopoulos 2017-06-01 19:16:24 +02:00 committed by Max Kellermann
parent 0a379fc514
commit 18b827b979
2 changed files with 5 additions and 1 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.20.9 (not yet released)
* decoder
- ffmpeg: support *.adx
* fix byte order detection on FreeBSD/aarch64
ver 0.20.8 (2017/05/19)

View File

@ -881,7 +881,8 @@ ffmpeg_scan_stream(InputStream &is,
* more formats.
*/
static const char *const ffmpeg_suffixes[] = {
"16sv", "3g2", "3gp", "4xm", "8svx", "aa3", "aac", "ac3", "afc", "aif",
"16sv", "3g2", "3gp", "4xm", "8svx",
"aa3", "aac", "ac3", "adx", "afc", "aif",
"aifc", "aiff", "al", "alaw", "amr", "anim", "apc", "ape", "asf",
"atrac", "au", "aud", "avi", "avm2", "avs", "bap", "bfi", "c93", "cak",
"cin", "cmv", "cpk", "daud", "dct", "divx", "dts", "dv", "dvd", "dxa",
@ -934,6 +935,7 @@ static const char *const ffmpeg_mime_types[] = {
"audio/x-16sv",
"audio/x-aac",
"audio/x-ac3",
"audio/x-adx",
"audio/x-aiff"
"audio/x-alaw",
"audio/x-au",