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:14:59 +0100
commit7ddcc4c8a1927d6ca4361d132b56883c8ca77450 (patch)
treeeb9cab64966ba497d58bc02c13cdde6262190957
parent14b57e5b096a21e625920b612069db533a19bb9d (diff)
downloadmpd-7ddcc4c8a1927d6ca4361d132b56883c8ca77450.tar.gz
mpd-7ddcc4c8a1927d6ca4361d132b56883c8ca77450.tar.xz
mpd-7ddcc4c8a1927d6ca4361d132b56883c8ca77450.zip
ffmpeg: added TTA support
The ffmpeg library supports the "True Audio Codec". The entry in ffmpeg_suffixes was missing.
-rw-r--r--NEWS1
-rw-r--r--src/decoder/ffmpeg_plugin.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 55517ddcb..f0118885e 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ ver 0.14.2 (2009/??/??)
- 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 1a25662ff..f9e1f9c05 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -401,6 +401,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
};
@@ -417,6 +418,7 @@ static const char *const ffmpeg_mime_types[] = {
"application/x-ms-wmd",
"audio/mpeg",
"audio/x-wav",
+ "audio/x-tta",
NULL
};