tag/TagId3: eliminate dummy function when libid3tag is disabled

This commit is contained in:
Max Kellermann
2016-02-23 11:16:19 +01:00
parent cccbcf510a
commit 8e5a67ed9f
2 changed files with 4 additions and 15 deletions

View File

@@ -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
}
/**