[gnome-commander] Don't use Taglib type if taglib is not available



commit b897bb1cd9f7b6344d15ed8edd997db6f61e2b1c
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Mon Apr 12 22:35:51 2021 +0200

    Don't use Taglib type if taglib is not available

 src/tags/gnome-cmd-tags-taglib.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tags/gnome-cmd-tags-taglib.cc b/src/tags/gnome-cmd-tags-taglib.cc
index a8e17a01..34e30041 100644
--- a/src/tags/gnome-cmd-tags-taglib.cc
+++ b/src/tags/gnome-cmd-tags-taglib.cc
@@ -47,10 +47,10 @@
 
 using namespace std;
 
+#ifdef HAVE_ID3
 bool getAudioProperties(GnomeCmdFileMetadata &metadata, const TagLib::AudioProperties *properties);
 bool readTags(GnomeCmdFileMetadata &metadata, const TagLib::Ogg::XiphComment *oggTag);
 
-#ifdef HAVE_ID3
 static DICT<GnomeCmdTag> id3v2tags(TAG_NONE);
 static DICT<GnomeCmdTag> oggtags(TAG_NONE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]