decoder_control: merge next_song and current_song

These two variables are redundant, we need only one of them.
This commit is contained in:
Max Kellermann
2009-11-03 20:02:19 +01:00
parent bfa7da943c
commit 89893faa19
5 changed files with 16 additions and 16 deletions

View File

@@ -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);
}