From 89893faa19aef5623b8d4ea9e71b346edbd78435 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Nov 2009 20:02:19 +0100 Subject: decoder_control: merge next_song and current_song These two variables are redundant, we need only one of them. --- src/decoder_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder_control.c') diff --git a/src/decoder_control.c b/src/decoder_control.c index b3092f773..058cd3f33 100644 --- a/src/decoder_control.c +++ b/src/decoder_control.c @@ -89,7 +89,7 @@ dc_start(struct decoder_control *dc, struct song *song) assert(dc->pipe != NULL); assert(song != NULL); - dc->next_song = song; + dc->song = song; dc_command(dc, DECODE_COMMAND_START); } -- cgit v1.2.3