aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-06-12 20:36:53 +0200
committerMax Kellermann <max@duempel.org>2012-06-12 20:36:53 +0200
commit90709a6de4dbfc25c86ec1bb9249836720dc07b8 (patch)
tree0c90f4e28d85580b527ba6799eb746f479abbdf1
parent992c2fa2d4f0b3fae9bd26144c14e6a4e0ce9a75 (diff)
downloadmpd-90709a6de4dbfc25c86ec1bb9249836720dc07b8.tar.gz
mpd-90709a6de4dbfc25c86ec1bb9249836720dc07b8.tar.xz
mpd-90709a6de4dbfc25c86ec1bb9249836720dc07b8.zip
encoder_list: make the list truly "const"
-rw-r--r--src/encoder_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder_list.c b/src/encoder_list.c
index f49ad48f7..dea72650c 100644
--- a/src/encoder_list.c
+++ b/src/encoder_list.c
@@ -30,7 +30,7 @@ extern const struct encoder_plugin twolame_encoder_plugin;
extern const struct encoder_plugin wave_encoder_plugin;
extern const struct encoder_plugin flac_encoder_plugin;
-static const struct encoder_plugin *encoder_plugins[] = {
+static const struct encoder_plugin *const encoder_plugins[] = {
&null_encoder_plugin,
#ifdef ENABLE_VORBIS_ENCODER
&vorbis_encoder_plugin,