From 7f7451b72a4bfeaeb974118f645c236e5d7f27a5 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 27 Aug 2011 22:35:00 +0100 Subject: [PATCH] Stop the M3UParser from going into an infinite loop when parsing a file with an invalid #EXTINF line. Fixes issue 2080 --- src/playlistparsers/m3uparser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/playlistparsers/m3uparser.cpp b/src/playlistparsers/m3uparser.cpp index 47cc9beb7..d3882add6 100644 --- a/src/playlistparsers/m3uparser.cpp +++ b/src/playlistparsers/m3uparser.cpp @@ -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()) {