aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-07-26 23:01:40 +0200
committerMax Kellermann <max@duempel.org>2012-07-26 23:01:40 +0200
commit7537722a44df34411a2c23ea393a1143d88681d3 (patch)
tree7d9feffe3e265dd3b97b4b81c93b00df372df107 /src
parent4ebd69193edbdb5416385a70741f457f340e39d9 (diff)
downloadmpd-7537722a44df34411a2c23ea393a1143d88681d3.tar.gz
mpd-7537722a44df34411a2c23ea393a1143d88681d3.tar.xz
mpd-7537722a44df34411a2c23ea393a1143d88681d3.zip
cue_parser: support file types "MP3", "AIFF"
These two strings are common "FILE" types.
Diffstat (limited to 'src')
-rw-r--r--src/cue/cue_parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cue/cue_parser.c b/src/cue/cue_parser.c
index 034d4a1f9..868aed094 100644
--- a/src/cue/cue_parser.c
+++ b/src/cue/cue_parser.c
@@ -235,7 +235,9 @@ cue_parser_feed2(struct cue_parser *parser, char *p)
if (type == NULL)
return;
- if (strcmp(type, "WAVE") != 0) {
+ if (strcmp(type, "WAVE") != 0 &&
+ strcmp(type, "MP3") != 0 &&
+ strcmp(type, "AIFF") != 0) {
parser->state = IGNORE_FILE;
return;
}