compiler warning fixes

patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7732 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-10-13 21:58:55 +00:00
parent d28c74a027
commit e84772b08d
5 changed files with 6 additions and 4 deletions

View File

@ -13,4 +13,4 @@ extern void uninit_audio(sh_audio_t *sh_audio);
extern int init_audio_filters(sh_audio_t *sh_audio,
int in_samplerate, int in_channels, int in_format, int in_bps,
int out_samplerate, int out_channels, int out_format, int out_bps,
int out_minsize, int out_maxsize);
int out_minsize, int out_maxsize);

View File

@ -15,7 +15,7 @@ extern int decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,in
extern int get_video_quality_max(sh_video_t *sh_video);
extern void set_video_quality(sh_video_t *sh_video,int quality);
int get_video_colors(sh_video_t *sh_video,char *item,int *value);
extern int get_video_colors(sh_video_t *sh_video,char *item,int *value);
extern int set_video_colors(sh_video_t *sh_video,char *item,int value);
extern int set_rectangle(sh_video_t *sh_video,int param,int value);

View File

@ -14,6 +14,8 @@
#define video_out ((vo_functions_t*)(vf->priv))
static int query_format(struct vf_instance_s* vf, unsigned int fmt); /* forward declaration */
static int config(struct vf_instance_s* vf,
int width, int height, int d_width, int d_height,
unsigned int flags, unsigned int outfmt){

View File

@ -635,7 +635,7 @@ void vo_x11_setlayer( int layer )
Atom type;
int format;
unsigned long nitems, bytesafter;
Atom * args = NULL;
unsigned char * args = NULL;
if ( WinID >= 0 ) return;

View File

@ -1274,7 +1274,7 @@ if(sh_audio){
//const ao_info_t *info=audio_out->info;
current_module="ao2_init";
if(!(audio_out=init_best_audio_out(audio_driver_list,
(ao_plugin_cfg.plugin_list), // plugin flag
(ao_plugin_cfg.plugin_list!=NULL), // plugin flag
force_srate?force_srate:sh_audio->samplerate*playback_speed,
audio_output_channels?audio_output_channels:
sh_audio->channels,audio_output_format?audio_output_format: