aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-09 10:01:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-09 10:01:29 +0200
commit182746b95c84d5e742b82d662f4c3321250b4e60 (patch)
tree0914168c239a3c1eae5eade9949642cef089cd58 /src/audioOutputs
parent35494158c8608525a38457bbf3412d19ae18e845 (diff)
downloadmpd-182746b95c84d5e742b82d662f4c3321250b4e60.tar.gz
mpd-182746b95c84d5e742b82d662f4c3321250b4e60.tar.xz
mpd-182746b95c84d5e742b82d662f4c3321250b4e60.zip
timer: constant pointers
The audio_format argument to timer_new() should be constant, because it is not modified. The same is true for ShoutData.audioFormat.
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_shout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 6c5e3c56b..dbc5e8b89 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -65,7 +65,7 @@ typedef struct _ShoutData {
Timer *timer;
/* just a pointer to audioOutput->outAudioFormat */
- struct audio_format *audioFormat;
+ const struct audio_format *audioFormat;
} ShoutData;
static ShoutData *newShoutData(void)