mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Stop the M3UParser from going into an infinite loop when parsing a file with an invalid #EXTINF line. Fixes issue 2080
This commit is contained in:
parent
7e0e4e48e4
commit
7f7451b72a
@ -52,7 +52,6 @@ SongList M3UParser::Load(QIODevice* device, const QString& playlist_path, const
|
||||
if (type == EXTENDED && line.startsWith("#EXT")) {
|
||||
if (!ParseMetadata(line, ¤t_metadata)) {
|
||||
qLog(Warning) << "Failed to parse metadata: " << line;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
} else if (!line.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user