summaryrefslogtreecommitdiff
path: root/lib/rbcodec/metadata/smaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/metadata/smaf.c')
-rw-r--r--lib/rbcodec/metadata/smaf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rbcodec/metadata/smaf.c b/lib/rbcodec/metadata/smaf.c
index aeeadb431f..78e1fec499 100644
--- a/lib/rbcodec/metadata/smaf.c
+++ b/lib/rbcodec/metadata/smaf.c
@@ -34,11 +34,7 @@ static const int basebits[4] = { 4, 8, 12, 16 };
34static const int frequency[5] = { 4000, 8000, 11025, 22050, 44100 }; 34static const int frequency[5] = { 4000, 8000, 11025, 22050, 44100 };
35 35
36static const int support_codepages[5] = { 36static const int support_codepages[5] = {
37#ifdef HAVE_LCD_BITMAP
38 SJIS, ISO_8859_1, -1, GB_2312, BIG_5, 37 SJIS, ISO_8859_1, -1, GB_2312, BIG_5,
39#else
40 -1, ISO_8859_1, -1, -1, -1,
41#endif
42}; 38};
43 39
44/* extra codepage */ 40/* extra codepage */
@@ -170,13 +166,11 @@ static int read_audio_track_contets(int fd, int codepage, unsigned char **dst,
170 while ((*p & MASK) != COMP) 166 while ((*p & MASK) != COMP)
171 *q++ = *p++; 167 *q++ = *p++;
172 } 168 }
173#ifdef HAVE_LCD_BITMAP
174 else if (codepage == SJIS) 169 else if (codepage == SJIS)
175 { 170 {
176 if (*p <= 0xa0 || *p >= 0xe0) 171 if (*p <= 0xa0 || *p >= 0xe0)
177 *q++ = *p++; 172 *q++ = *p++;
178 } 173 }
179#endif
180 } 174 }
181 175
182 *q++ = *p++; 176 *q++ = *p++;