From 59ffb5b7c126194f3cb74129837961ee849933fa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Nov 2009 19:16:25 +0100 Subject: decoder_control: make the song objects const They are just informational. --- src/decoder_control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decoder_control.h') diff --git a/src/decoder_control.h b/src/decoder_control.h index d03c7a805..a4a6e266c 100644 --- a/src/decoder_control.h +++ b/src/decoder_control.h @@ -72,8 +72,8 @@ struct decoder_control { /** the format being sent to the music pipe */ struct audio_format out_audio_format; - struct song *current_song; - struct song *next_song; + const struct song *current_song; + const struct song *next_song; float total_time; /** the #music_chunk allocator */ -- cgit v1.2.3