diff options
author | Max Kellermann <max@duempel.org> | 2008-09-12 16:39:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-12 16:39:53 +0200 |
commit | ebd194998aa6f140a0889a9d51fb356f76639361 (patch) | |
tree | e6fa2a3ee1a459e5202f3b660485d786f61b9a57 /src/audioOutputs/audioOutput_shout_mp3.c | |
parent | d9f170b5dbad075a4cc3651054bd1751c3f66fbc (diff) | |
download | mpd-ebd194998aa6f140a0889a9d51fb356f76639361.tar.gz mpd-ebd194998aa6f140a0889a9d51fb356f76639361.tar.xz mpd-ebd194998aa6f140a0889a9d51fb356f76639361.zip |
shout: constant plugin declarations
Declare both shout plugins "const", since they will never change, once
initialized at compile time.
Diffstat (limited to 'src/audioOutputs/audioOutput_shout_mp3.c')
-rw-r--r-- | src/audioOutputs/audioOutput_shout_mp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_shout_mp3.c b/src/audioOutputs/audioOutput_shout_mp3.c index 4bdccfd2d..8e2bb565f 100644 --- a/src/audioOutputs/audioOutput_shout_mp3.c +++ b/src/audioOutputs/audioOutput_shout_mp3.c @@ -174,7 +174,7 @@ static int shout_mp3_encoder_encode(struct shout_data *sd, return 0; } -struct shout_encoder_plugin shout_mp3_encoder = { +const struct shout_encoder_plugin shout_mp3_encoder = { "mp3", SHOUT_FORMAT_MP3, |