aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_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/player_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/player_control.h')
-rw-r--r--src/player_control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_control.h b/src/player_control.h
index c1fd52d81..02c04fda8 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -108,7 +108,7 @@ struct player_control {
float total_time;
float elapsed_time;
struct song *volatile next_song;
- struct song *errored_song;
+ const struct song *errored_song;
volatile double seek_where;
float cross_fade_seconds;
double total_play_time;