aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 23:19:15 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 23:19:15 +0200
commit20cba9e89f80d788a1cc65473865f52de94ea451 (patch)
tree7e9d96754b4f59ea2235c1455e18ba83cd31411a /src/PlayerThread.cxx
parentf6d67ac260ad12a6465378d93d03d98fea857ec8 (diff)
downloadmpd-20cba9e89f80d788a1cc65473865f52de94ea451.tar.gz
mpd-20cba9e89f80d788a1cc65473865f52de94ea451.tar.xz
mpd-20cba9e89f80d788a1cc65473865f52de94ea451.zip
Song: pass reference to song_equals()
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
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 */