summaryrefslogtreecommitdiff
path: root/src/tag/Generic.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-02-23 11:16:19 +0100
committerMax Kellermann <max@duempel.org>2016-02-23 11:16:19 +0100
commit8e5a67ed9fd6f556cfcc6f13349a2549d1b02249 (patch)
treebca3e8005677cdaf5025ff009c3b9519486b8bd2 /src/tag/Generic.cxx
parentcccbcf510a44aec0ce6a956cc1c7c96e6cfa94f3 (diff)
tag/TagId3: eliminate dummy function when libid3tag is disabled
Diffstat (limited to 'src/tag/Generic.cxx')
-rw-r--r--src/tag/Generic.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tag/Generic.cxx b/src/tag/Generic.cxx
index 39baef45c..2f485bb9d 100644
--- a/src/tag/Generic.cxx
+++ b/src/tag/Generic.cxx
@@ -40,10 +40,14 @@ ScanGenericTags(InputStream &is, const TagHandler &handler, void *ctx)
if (tag_ape_scan2(is, handler, ctx))
return true;
+#ifdef ENABLE_ID3TAG
if (!is.Rewind(IgnoreError()))
return false;
return tag_id3_scan(is, handler, ctx);
+#else
+ return false;
+#endif
}
/**