From 7537722a44df34411a2c23ea393a1143d88681d3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Jul 2012 23:01:40 +0200 Subject: cue_parser: support file types "MP3", "AIFF" These two strings are common "FILE" types. --- src/cue/cue_parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cue') diff --git a/src/cue/cue_parser.c b/src/cue/cue_parser.c index 034d4a1f..868aed09 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; } -- cgit v1.2.3