Song: pass reference to song_equals()

This commit is contained in:
Max Kellermann
2013-10-21 23:19:15 +02:00
parent f6d67ac260
commit 20cba9e89f
5 changed files with 14 additions and 19 deletions

View File

@@ -521,7 +521,7 @@ Player::SeekDecoder()
const unsigned start_ms = pc.next_song->start_ms;
if (!dc.LockIsCurrentSong(pc.next_song)) {
if (!dc.LockIsCurrentSong(*pc.next_song)) {
/* the decoder is already decoding the "next" song -
stop it and start the previous song again */