From 20cba9e89f80d788a1cc65473865f52de94ea451 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 23:19:15 +0200 Subject: Song: pass reference to song_equals() --- src/PlayerThread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PlayerThread.cxx') diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 830039fc3..4f5b15bba 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -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 */ -- cgit v1.2.3