Please see attached file.

Am 01.06.2017 um 19:33 schrieb Max Kellermann:
> On 2017/06/01 19:16, Jörg Raftopoulos <jo...@raftopoulos.net> wrote:
>> Add ffmpeg decoder support for *.adx files (Sega game console)
> 
> Your patch contains very strange Unicode characters instead of tabs.
> git can't apply that.



diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx 
b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
index 1380bf94b..bef991465 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",
_______________________________________________
mpd-devel mailing list
mpd-devel@musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to