diff options
author | Max Kellermann <max@duempel.org> | 2009-11-03 20:02:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-03 20:02:19 +0100 |
commit | 89893faa19aef5623b8d4ea9e71b346edbd78435 (patch) | |
tree | 0d1d33793285c06d5237709c5e40ed7e4a4040cb /src/decoder_control.c | |
parent | bfa7da943c2ee90ca84664ce0d97b77ed27311f9 (diff) | |
download | mpd-89893faa19aef5623b8d4ea9e71b346edbd78435.tar.gz mpd-89893faa19aef5623b8d4ea9e71b346edbd78435.tar.xz mpd-89893faa19aef5623b8d4ea9e71b346edbd78435.zip |
decoder_control: merge next_song and current_song
These two variables are redundant, we need only one of them.
Diffstat (limited to '')
-rw-r--r-- | src/decoder_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |