summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index f60b87362f..7ef2a05bea 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -93,8 +93,7 @@ unsigned int probe_file_format(const char *filename)
93/* Get metadata for track - return false if parsing showed problems with the 93/* Get metadata for track - return false if parsing showed problems with the
94 * file that would prevent playback. 94 * file that would prevent playback.
95 */ 95 */
96bool get_metadata(struct mp3entry* id3, int fd, const char* trackname, 96bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
97 bool v1first)
98{ 97{
99#if CONFIG_CODEC == SWCODEC 98#if CONFIG_CODEC == SWCODEC
100 unsigned char* buf; 99 unsigned char* buf;
@@ -111,7 +110,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname,
111 case AFMT_MPA_L1: 110 case AFMT_MPA_L1:
112 case AFMT_MPA_L2: 111 case AFMT_MPA_L2:
113 case AFMT_MPA_L3: 112 case AFMT_MPA_L3:
114 if (!get_mp3_metadata(fd, id3, trackname, v1first)) 113 if (!get_mp3_metadata(fd, id3, trackname))
115 { 114 {
116 return false; 115 return false;
117 } 116 }