aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/fileref.cpp
diff options
context:
space:
mode:
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")