diff options
author | Max Kellermann <max@duempel.org> | 2013-10-21 23:19:15 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-21 23:19:15 +0200 |
commit | 20cba9e89f80d788a1cc65473865f52de94ea451 (patch) | |
tree | 7e9d96754b4f59ea2235c1455e18ba83cd31411a /src/PlayerThread.cxx | |
parent | f6d67ac260ad12a6465378d93d03d98fea857ec8 (diff) |
Song: pass reference to song_equals()
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r-- | src/PlayerThread.cxx | 2 |
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 */ |