From 90709a6de4dbfc25c86ec1bb9249836720dc07b8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 12 Jun 2012 20:36:53 +0200 Subject: encoder_list: make the list truly "const" --- src/encoder_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3