[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/taglib/taglib
From:       Nick Shaforostoff <shafff () ukr ! net>
Date:       2011-01-31 12:24:30
Message-ID: 20110131122430.CCD40AC8BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1218105 by shaforo:

formal change: combine if-conditions for identical bodies



 M  +1 -3      fileref.cpp  


--- trunk/kdesupport/taglib/taglib/fileref.cpp #1218104:1218105
@@ -254,12 +254,10 @@
     if(ext == "WMA" || ext == "ASF")
       return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);
 #endif
-    if(ext == "AIF")
+    if(ext == "AIF" || ext == "AIFF")
       return new RIFF::AIFF::File(fileName, readAudioProperties, audioPropertiesStyle);
     if(ext == "WAV")
       return new RIFF::WAV::File(fileName, readAudioProperties, audioPropertiesStyle);
-    if(ext == "AIFF")
-      return new RIFF::AIFF::File(fileName, readAudioProperties, audioPropertiesStyle);
     if(ext == "APE")
       return new APE::File(fileName, readAudioProperties, audioPropertiesStyle);
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic