diff options
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 7265ce87b2..bff1550059 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -1779,7 +1779,6 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) | |||
1779 | if (id3->bitrate == 0) | 1779 | if (id3->bitrate == 0) |
1780 | id3->bitrate = 1; | 1780 | id3->bitrate = 1; |
1781 | 1781 | ||
1782 | #if CONFIG_CODEC == SWCODEC | ||
1783 | if (global_settings.autoresume_enable) | 1782 | if (global_settings.autoresume_enable) |
1784 | { | 1783 | { |
1785 | id3->elapsed = get_tag_numeric(entry, tag_lastelapsed, idx_id); | 1784 | id3->elapsed = get_tag_numeric(entry, tag_lastelapsed, idx_id); |
@@ -1790,8 +1789,7 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) | |||
1790 | logf("tagcache_fill_tags: Set offset for %s to %lX\n", | 1789 | logf("tagcache_fill_tags: Set offset for %s to %lX\n", |
1791 | id3->title, id3->offset); | 1790 | id3->title, id3->offset); |
1792 | } | 1791 | } |
1793 | #endif | 1792 | |
1794 | |||
1795 | return true; | 1793 | return true; |
1796 | } | 1794 | } |
1797 | #endif /* defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) */ | 1795 | #endif /* defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) */ |