aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-11 18:14:59 +0100
committerMax Kellermann <max@duempel.org>2009-02-11 18:27:11 +0100
commit550b9c3f2350a8ea6f6921ae4bff4c92d2dc386c (patch)
tree95835d6423bc6f4a3f35edba41c8ec0c77213b65
parent58a5d30826a1196948cff89135e9ac3c2a3e5333 (diff)
downloadmpd-550b9c3f2350a8ea6f6921ae4bff4c92d2dc386c.tar.gz
mpd-550b9c3f2350a8ea6f6921ae4bff4c92d2dc386c.tar.xz
mpd-550b9c3f2350a8ea6f6921ae4bff4c92d2dc386c.zip
ffmpeg: added TTA support
The ffmpeg library supports the "True Audio Codec". The entry in ffmpeg_suffixes was missing.
-rw-r--r--NEWS3
-rw-r--r--src/decoder/ffmpeg_plugin.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a93958e5d..0c9be64dc 100644
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,6 @@ ver 0.15 - (200?/??/??)
- parse RVA2 tags in mp3 files
* decoders:
- audiofile: streaming support added
- - ffmpeg: enable WAV
- modplug: another MOD plugin, based on libmodplug
- mikmod disabled by default, due to severe security issues in libmikmod
* audio outputs:
@@ -42,6 +41,8 @@ ver 0.14.2 (2009/??/??)
- ffmpeg: don't warn of empty packet output
- ffmpeg: check if the time stamp is valid
- ffmpeg: fixed seek integer overflow
+ - ffmpeg: enable WAV streaming
+ - ffmpeg: added TTA support
- wavpack: pass NULL if the .wvc file fails to open
- mikmod: call MikMod_Exit() only in the finish() method
* audio outputs:
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index aca02cb2a..8a379814f 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -403,6 +403,7 @@ static const char *const ffmpeg_suffixes[] = {
"wma", "asf", "wmv", "mpeg", "mpg", "avi", "vob", "mov", "qt", "swf",
"rm", "swf", "mp1", "mp2", "mp3", "mp4", "m4a", "flac", "ogg", "wav",
"au", "aiff", "aif", "ac3", "aac", "mpc", "ape",
+ "tta",
NULL
};
@@ -419,6 +420,7 @@ static const char *const ffmpeg_mime_types[] = {
"application/x-ms-wmd",
"audio/mpeg",
"audio/x-wav",
+ "audio/x-tta",
NULL
};