summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-17 20:55:53 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-17 20:55:53 +0000
commit7f5fb7bbd9fbb875ad83088c151ab04b3a3f203f (patch)
tree5f5104b082abbd462027568b0d01c1726b87ddd5 /firmware
parent5286c7ddb8d9744ef3acad7d59dff26130c981d5 (diff)
downloadrockbox-7f5fb7bbd9fbb875ad83088c151ab04b3a3f203f.tar.gz
rockbox-7f5fb7bbd9fbb875ad83088c151ab04b3a3f203f.tar.bz2
rockbox-7f5fb7bbd9fbb875ad83088c151ab04b3a3f203f.zip
Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9710 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/id3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 1188da9fd6..8a1c3e53dc 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -1035,10 +1035,12 @@ void adjust_mp3entry(struct mp3entry *entry, void *dest, void *orig)
entry->year_string += offset;
if (entry->composer)
entry->composer += offset;
+#if CONFIG_CODEC == SWCODEC
if (entry->track_gain_string)
entry->track_gain_string += offset;
if (entry->album_gain_string)
entry->album_gain_string += offset;
+#endif
}
void copy_mp3entry(struct mp3entry *dest, struct mp3entry *orig)