aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/fileref.cpp
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2011-06-24 08:49:50 +0200
committerLukáš Lalinský <lalinsky@gmail.com>2011-06-24 08:49:50 +0200
commitdd846904cbc1ef3ee628d77f0c9df88ef8967816 (patch)
treea7368c104b65ca181ad11939f1d579e3e42fe396 /taglib/fileref.cpp
parent0b34d4f8ee037faab1daf5f045854da122bdb7a9 (diff)
Remove the options to disable MP4/ASF support
Diffstat (limited to 'taglib/fileref.cpp')
-rw-r--r--taglib/fileref.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/taglib/fileref.cpp b/taglib/fileref.cpp
index d18a3aeb..4cbb6413 100644
--- a/taglib/fileref.cpp
+++ b/taglib/fileref.cpp
@@ -147,17 +147,13 @@ StringList FileRef::defaultFileExtensions()
l.append("wv");
l.append("spx");
l.append("tta");
-#ifdef TAGLIB_WITH_MP4
l.append("m4a");
l.append("m4b");
l.append("m4p");
l.append("3g2");
l.append("mp4");
-#endif
-#ifdef TAGLIB_WITH_ASF
l.append("wma");
l.append("asf");
-#endif
l.append("aif");
l.append("aiff");
l.append("wav");
@@ -246,14 +242,10 @@ File *FileRef::create(FileName fileName, bool readAudioProperties,
return new Ogg::Speex::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "TTA")
return new TrueAudio::File(fileName, readAudioProperties, audioPropertiesStyle);
-#ifdef TAGLIB_WITH_MP4
if(ext == "M4A" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2")
return new MP4::File(fileName, readAudioProperties, audioPropertiesStyle);
-#endif
-#ifdef TAGLIB_WITH_ASF
if(ext == "WMA" || ext == "ASF")
return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);
-#endif
if(ext == "AIF" || ext == "AIFF")
return new RIFF::AIFF::File(fileName, readAudioProperties, audioPropertiesStyle);
if(ext == "WAV")