From 29a855245cc7ef49a5c66973bcd11a51a124efa1 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 7 Apr 2011 22:11:12 +0000 Subject: [PATCH] Fix residual red. Keep index in mp3entry for HWCODEC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29692 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata.h | 3 +++ 1 file changed, 3 insertions(+) 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() */