mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
Compilation warning fixes.
This commit is contained in:
parent
d27ab78114
commit
26bc394027
@ -641,7 +641,7 @@ static int OpenEncoder( vlc_object_t *p_this )
|
||||
encoder_sys_t *p_sys;
|
||||
const SpeexMode *p_speex_mode = &speex_nb_mode;
|
||||
int i_quality, i;
|
||||
char *pp_header[2];
|
||||
const char *pp_header[2];
|
||||
int pi_header[2];
|
||||
uint8_t *p_extra;
|
||||
|
||||
|
@ -116,7 +116,7 @@ typedef struct
|
||||
} telnet_client_t;
|
||||
|
||||
static char *MessageToString( vlm_message_t *, int );
|
||||
static void Write_message( telnet_client_t *, vlm_message_t *, char *, int );
|
||||
static void Write_message( telnet_client_t *, vlm_message_t *, const char *, int );
|
||||
|
||||
struct intf_sys_t
|
||||
{
|
||||
@ -500,7 +500,7 @@ static void Run( intf_thread_t *p_intf )
|
||||
}
|
||||
|
||||
static void Write_message( telnet_client_t *client, vlm_message_t *message,
|
||||
char *string_message, int i_mode )
|
||||
const char *string_message, int i_mode )
|
||||
{
|
||||
char *psz_message;
|
||||
|
||||
|
@ -103,7 +103,7 @@ static int Open( vlc_object_t * p_this )
|
||||
|
||||
uint8_t *p_peek;
|
||||
unsigned int i_size, i_extended;
|
||||
char *psz_name;
|
||||
const char *psz_name;
|
||||
|
||||
WAVEFORMATEXTENSIBLE *p_wf_ext;
|
||||
WAVEFORMATEX *p_wf;
|
||||
|
@ -82,7 +82,7 @@ static void Redraw ( intf_thread_t *, time_t * );
|
||||
|
||||
static playlist_item_t *PlaylistGetRoot( intf_thread_t * );
|
||||
static void PlaylistRebuild( intf_thread_t * );
|
||||
static void PlaylistAddNode( intf_thread_t *, playlist_item_t *, int, char *);
|
||||
static void PlaylistAddNode( intf_thread_t *, playlist_item_t *, int, const char *);
|
||||
static void PlaylistDestroy( intf_thread_t * );
|
||||
static int PlaylistChanged( vlc_object_t *, const char *, vlc_value_t,
|
||||
vlc_value_t, void * );
|
||||
@ -1666,7 +1666,7 @@ static void PlaylistRebuild( intf_thread_t *p_intf )
|
||||
}
|
||||
|
||||
static void PlaylistAddNode( intf_thread_t *p_intf, playlist_item_t *p_node,
|
||||
int i, char *c )
|
||||
int i, const char *c )
|
||||
{
|
||||
intf_sys_t *p_sys = p_intf->p_sys;
|
||||
playlist_item_t *p_child;
|
||||
@ -1903,7 +1903,7 @@ static void ReadDir( intf_thread_t *p_intf )
|
||||
|
||||
if( p_sys->psz_current_dir && *p_sys->psz_current_dir )
|
||||
{
|
||||
const char *psz_entry;
|
||||
char *psz_entry;
|
||||
|
||||
/* Open the dir */
|
||||
p_current_dir = utf8_opendir( p_sys->psz_current_dir );
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#define NUM_GENRES 80
|
||||
|
||||
static char *ppsz_genres[] = {
|
||||
static const char *ppsz_genres[] = {
|
||||
N_("Blues"),
|
||||
N_("Classic rock"),
|
||||
N_("Country"),
|
||||
|
@ -71,7 +71,7 @@
|
||||
"computing intensive. The range is 0 - 1000 ms." )
|
||||
|
||||
static int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
|
||||
static char *ppsz_pos_descriptions[] =
|
||||
static const char *ppsz_pos_descriptions[] =
|
||||
{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
|
||||
N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") };
|
||||
|
||||
|
@ -166,7 +166,7 @@ static int FilterCallback( vlc_object_t *, char const *,
|
||||
vlc_value_t, vlc_value_t, void * );
|
||||
static struct
|
||||
{
|
||||
char *psz_name;
|
||||
const char *psz_name;
|
||||
int (*pf_run)( visual_effect_t *, aout_instance_t *,
|
||||
aout_buffer_t *, picture_t *);
|
||||
} pf_effect_run[]=
|
||||
|
Loading…
Reference in New Issue
Block a user