From ebd194998aa6f140a0889a9d51fb356f76639361 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 12 Sep 2008 16:39:53 +0200 Subject: shout: constant plugin declarations Declare both shout plugins "const", since they will never change, once initialized at compile time. --- src/audioOutputs/audioOutput_shout_ogg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutputs/audioOutput_shout_ogg.c') diff --git a/src/audioOutputs/audioOutput_shout_ogg.c b/src/audioOutputs/audioOutput_shout_ogg.c index 327c90b24..746341a75 100644 --- a/src/audioOutputs/audioOutput_shout_ogg.c +++ b/src/audioOutputs/audioOutput_shout_ogg.c @@ -289,7 +289,7 @@ static int shout_ogg_encoder_encode(struct shout_data *sd, return 0; } -struct shout_encoder_plugin shout_ogg_encoder = { +const struct shout_encoder_plugin shout_ogg_encoder = { "ogg", SHOUT_FORMAT_VORBIS, -- cgit v1.2.3