decoder_control: make the song objects const

They are just informational.
This commit is contained in:
Max Kellermann
2009-11-03 19:16:25 +01:00
parent 4dc25d3908
commit 59ffb5b7c1
3 changed files with 4 additions and 4 deletions

View File

@@ -263,7 +263,7 @@ decoder_run_song(struct decoder_control *dc,
static void
decoder_run(struct decoder_control *dc)
{
struct song *song = dc->next_song;
const struct song *song = dc->next_song;
char *uri;
if (song_is_file(song))