From 550b9c3f2350a8ea6f6921ae4bff4c92d2dc386c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Feb 2009 18:14:59 +0100 Subject: [PATCH] ffmpeg: added TTA support The ffmpeg library supports the "True Audio Codec". The entry in ffmpeg_suffixes was missing. --- NEWS | 3 ++- src/decoder/ffmpeg_plugin.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 };