From 658026e6267277b27d297c481728f74d160a8481 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 10:31:31 -0400 Subject: [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a --- lib/rbcodec/metadata/smaf.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/rbcodec/metadata') 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 }; static const int frequency[5] = { 4000, 8000, 11025, 22050, 44100 }; static const int support_codepages[5] = { -#ifdef HAVE_LCD_BITMAP SJIS, ISO_8859_1, -1, GB_2312, BIG_5, -#else - -1, ISO_8859_1, -1, -1, -1, -#endif }; /* extra codepage */ @@ -170,13 +166,11 @@ static int read_audio_track_contets(int fd, int codepage, unsigned char **dst, while ((*p & MASK) != COMP) *q++ = *p++; } -#ifdef HAVE_LCD_BITMAP else if (codepage == SJIS) { if (*p <= 0xa0 || *p >= 0xe0) *q++ = *p++; } -#endif } *q++ = *p++; -- cgit v1.2.3