summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 1d90eee..b3a16a3 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1695,12 +1695,14 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename)
if (id3->bitrate == 0)
id3->bitrate = 1;
+#if CONFIG_CODEC == SWCODEC
if (global_settings.autoresume_enable)
{
id3->offset = get_tag_numeric(entry, tag_lastoffset, idx_id);
logf("tagcache_fill_tags: Set offset for %s to %lX\n",
id3->title, id3->offset);
}
+#endif
return true;
}