aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-05 18:22:34 +0100
committerMax Kellermann <max@duempel.org>2013-11-05 18:22:34 +0100
commitae5dd2da4fa695a19032136a845ea43e7c105bff (patch)
tree04a2b427ca41bb1a88e8c44791987d4f123f2084 /src/playlist
parentf4b61e8c8dc04e89514677018900ac357d4f5a2b (diff)
downloadmpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.tar.gz
mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.tar.xz
mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.zip
playlist/pls: fix reversed song order
Remove the forward_list::reverse() call. It was not necessary, because pls_parser() already reads the playlist in reverse order.
Diffstat (limited to 'src/playlist')
-rw-r--r--src/playlist/PlsPlaylistPlugin.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/playlist/PlsPlaylistPlugin.cxx b/src/playlist/PlsPlaylistPlugin.cxx
index b6c723b5a..d44a34cdf 100644
--- a/src/playlist/PlsPlaylistPlugin.cxx
+++ b/src/playlist/PlsPlaylistPlugin.cxx
@@ -155,7 +155,6 @@ pls_open_stream(InputStream &is)
pls_parser(keyfile, songs);
g_key_file_free(keyfile);
- songs.reverse();
return new MemorySongEnumerator(std::move(songs));
}