aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c
index 2a2d8ac66..8bf21365c 100644
--- a/src/decoder_control.c
+++ b/src/decoder_control.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "decoder_control.h"
#include "pipe.h"
+#include "song.h"
#include <assert.h>
@@ -111,7 +112,7 @@ decoder_is_current_song(const struct decoder_control *dc,
case DECODE_STATE_START:
case DECODE_STATE_DECODE:
- return dc->song == song;
+ return song_equals(dc->song, song);
}
assert(false);