cue_parser: support file types "MP3", "AIFF"
These two strings are common "FILE" types.
This commit is contained in:
parent
4ebd69193e
commit
7537722a44
2
NEWS
2
NEWS
|
@ -3,6 +3,8 @@ ver 0.17.1 (2012/??/??)
|
|||
- require appropriate permissions for searchadd{,pl}
|
||||
* tags:
|
||||
- aiff: support the AIFC format
|
||||
* playlist:
|
||||
- cue: support file types "MP3", "AIFF"
|
||||
* output:
|
||||
- fix noisy playback with conversion and software volume
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue