encoder_list: make the list truly "const"
This commit is contained in:
parent
992c2fa2d4
commit
90709a6de4
@ -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 wave_encoder_plugin;
|
||||||
extern const struct encoder_plugin flac_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,
|
&null_encoder_plugin,
|
||||||
#ifdef ENABLE_VORBIS_ENCODER
|
#ifdef ENABLE_VORBIS_ENCODER
|
||||||
&vorbis_encoder_plugin,
|
&vorbis_encoder_plugin,
|
||||||
|
Loading…
Reference in New Issue
Block a user