aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-03 19:16:25 +0100
committerMax Kellermann <max@duempel.org>2009-11-03 19:16:25 +0100
commit59ffb5b7c126194f3cb74129837961ee849933fa (patch)
tree126bb328b1df5ce1c44c839ad3ca065921620a9f /src/decoder_control.h
parent4dc25d3908648cc781fe43e54243bb64aec4b2cb (diff)
downloadmpd-59ffb5b7c126194f3cb74129837961ee849933fa.tar.gz
mpd-59ffb5b7c126194f3cb74129837961ee849933fa.tar.xz
mpd-59ffb5b7c126194f3cb74129837961ee849933fa.zip
decoder_control: make the song objects const
They are just informational.
Diffstat (limited to 'src/decoder_control.h')
-rw-r--r--src/decoder_control.h4
1 files changed, 2 insertions, 2 deletions
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 */