summaryrefslogtreecommitdiff
path: root/firmware/id3.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/id3.c')
-rw-r--r--firmware/id3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 0a08fa0de8..4297c8ba70 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -77,7 +77,7 @@ static const char* const genres[] = {
77 "Duet", "Punk Rock", "Drum Solo", "A capella", "Euro-House", "Dance Hall" 77 "Duet", "Punk Rock", "Drum Solo", "A capella", "Euro-House", "Dance Hall"
78}; 78};
79 79
80char* id3_get_genre(struct mp3entry* id3) 80char* id3_get_genre(const struct mp3entry* id3)
81{ 81{
82 if( id3->genre_string ) 82 if( id3->genre_string )
83 return id3->genre_string ; 83 return id3->genre_string ;
@@ -799,7 +799,7 @@ static int getsonglength(int fd, struct mp3entry *entry)
799 * about an MP3 file and updates it's entry accordingly. 799 * about an MP3 file and updates it's entry accordingly.
800 * 800 *
801 */ 801 */
802bool mp3info(struct mp3entry *entry, char *filename, bool v1first) 802bool mp3info(struct mp3entry *entry, const char *filename, bool v1first)
803{ 803{
804 int fd; 804 int fd;
805 int v1found = false; 805 int v1found = false;