From 18b827b979d6d1f739770af8a6e6a2c1ae361859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Raftopoulos?= Date: Thu, 1 Jun 2017 19:16:24 +0200 Subject: [PATCH] decoder/ffmpeg: add support for adx Add ffmpeg decoder support for *.adx files (Sega game console) Closes #60 --- NEWS | 2 ++ src/decoder/plugins/FfmpegDecoderPlugin.cxx | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 398685b13..c209cfa80 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index 2c9d3a8fa..75038e694 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -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",