diff options
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 1d90eee24b..b3a16a3c42 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -1695,12 +1695,14 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) | |||
1695 | if (id3->bitrate == 0) | 1695 | if (id3->bitrate == 0) |
1696 | id3->bitrate = 1; | 1696 | id3->bitrate = 1; |
1697 | 1697 | ||
1698 | #if CONFIG_CODEC == SWCODEC | ||
1698 | if (global_settings.autoresume_enable) | 1699 | if (global_settings.autoresume_enable) |
1699 | { | 1700 | { |
1700 | id3->offset = get_tag_numeric(entry, tag_lastoffset, idx_id); | 1701 | id3->offset = get_tag_numeric(entry, tag_lastoffset, idx_id); |
1701 | logf("tagcache_fill_tags: Set offset for %s to %lX\n", | 1702 | logf("tagcache_fill_tags: Set offset for %s to %lX\n", |
1702 | id3->title, id3->offset); | 1703 | id3->title, id3->offset); |
1703 | } | 1704 | } |
1705 | #endif | ||
1704 | 1706 | ||
1705 | return true; | 1707 | return true; |
1706 | } | 1708 | } |