# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_codec.h>
#include <vlc_sout.h>
#define ENC_PSY_LONGTEXT N_( \
"Integer from -1 (no model) to 4." )
-static int pi_stereo_values[] = { 0, 1, 2 };
-static char *ppsz_stereo_descriptions[] =
+static const int pi_stereo_values[] = { 0, 1, 2 };
+static const char *const ppsz_stereo_descriptions[] =
{ N_("Stereo"), N_("Dual mono"), N_("Joint stereo") };
vlc_module_begin();
set_shortname( "Twolame");
- set_description( _("Libtwolame audio encoder") );
+ set_description( N_("Libtwolame audio encoder") );
set_capability( "encoder", 50 );
set_callbacks( OpenEncoder, CloseEncoder );
set_category( CAT_INPUT );
ENC_PSY_LONGTEXT, false );
vlc_module_end();
-static const char *ppsz_enc_options[] = {
+static const char *const ppsz_enc_options[] = {
"quality", "mode", "vbr", "psy", NULL
};