{
uint16_t i_tag;
vlc_fourcc_t i_fourcc;
- char *psz_name;
+ const char *psz_name;
}
wave_format_tag_to_fourcc[] =
{
};
static inline void wf_tag_to_fourcc( uint16_t i_tag, vlc_fourcc_t *fcc,
- char **ppsz_name )
+ const char **ppsz_name )
{
int i;
for( i = 0; wave_format_tag_to_fourcc[i].i_tag != 0; i++ )
{
GUID guid_tag;
vlc_fourcc_t i_fourcc;
- char *psz_name;
+ const char *psz_name;
}
sub_format_tag_to_fourcc[] =
{
}
static inline void sf_tag_to_fourcc( GUID *guid_tag,
- vlc_fourcc_t *fcc, char **ppsz_name )
+ vlc_fourcc_t *fcc, const char **ppsz_name )
{
int i;
*/
typedef struct es_sys_t
{
- char *psz_header; /* for 'ssa ' and 'subt' */
+ char *psz_header; /* for 'ssa ' and 'subt' */
/* for spudec */
unsigned int i_orig_height;
#define WAV_LONGTEXT N_("Instead of writing a raw file, you can add a WAV " \
"header to the file.")
-static char *format_list[] = { "u8", "s8", "u16", "s16", "u16_le", "s16_le",
- "u16_be", "s16_be", "fixed32", "float32",
- "spdif" };
+static const char *format_list[] = { "u8", "s8", "u16", "s16", "u16_le",
+ "s16_le", "u16_be", "s16_be", "fixed32",
+ "float32", "spdif" };
static int format_int[] = { VLC_FOURCC('u','8',' ',' '),
VLC_FOURCC('s','8',' ',' '),
AOUT_FMT_U16_NE, AOUT_FMT_S16_NE,
{
aout_instance_t * p_aout = (aout_instance_t *)p_this;
char * psz_name, * psz_format;
- char ** ppsz_compare = format_list;
+ const char ** ppsz_compare = format_list;
vlc_value_t val;
int i_channels, i = 0;