decoder_control: make the song objects const
They are just informational.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user