summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-07 22:11:12 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-07 22:11:12 +0000
commit29a855245cc7ef49a5c66973bcd11a51a124efa1 (patch)
tree5dc56fa6c18a6d40c26b1296cc0869bcd7ecf025
parent39d9d8bab1e46c83df4a35f50d9217b6912b7097 (diff)
downloadrockbox-29a855245cc7ef49a5c66973bcd11a51a124efa1.tar.gz
rockbox-29a855245cc7ef49a5c66973bcd11a51a124efa1.tar.bz2
rockbox-29a855245cc7ef49a5c66973bcd11a51a124efa1.zip
Fix residual red. Keep index in mp3entry for HWCODEC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29692 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/metadata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index 1ab391cbba..c22c1b3ecf 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -266,6 +266,9 @@ struct mp3entry {
/* resume related */
unsigned long offset; /* bytes played */
+#if CONFIG_CODEC != SWCODEC
+ int index; /* playlist index */
+#endif
#ifdef HAVE_TAGCACHE
unsigned char autoresumable; /* caches result of autoresumable() */