Mercurial > mplayer.hg
view mplayer.h @ 25308:7fdb9b2b6770
Fix printf format string length modifiers, removes the warnings:
asfinfo.c: In function 'print_wave_header':
asfinfo.c:114: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:115: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c: In function 'print_video_header':
asfinfo.c:140: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:141: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:142: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:145: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:146: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c: In function 'main':
asfinfo.c:174: warning: format '%X' expects type 'unsigned int', but argument 2 has type 'long int'
asfinfo.c:220: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'
author | diego |
---|---|
date | Mon, 10 Dec 2007 13:11:26 +0000 |
parents | 35fcce39b121 |
children | 4cd12675cfbb |
line wrap: on
line source
#ifndef MPLAYER_H #define MPLAYER_H extern char* current_module; extern char * dvd_device; extern char * cdrom_device; extern char ** audio_fm_list; extern char ** video_fm_list; extern char ** video_driver_list; extern char ** audio_driver_list; extern char * video_driver; extern char * audio_driver; extern float audio_delay; extern int osd_level; extern unsigned int osd_visible; extern char * font_name; extern char * sub_font_name; extern float font_factor; extern float movie_aspect; extern float force_fps; //extern char **sub_name; extern float sub_delay; extern float sub_fps; extern int sub_auto; extern char * filename; extern int stream_cache_size; extern int autosync; // libmpcodecs: extern int fullscreen; extern int flip; extern int frame_dropping; extern int auto_quality; extern int audio_id; extern int video_id; extern int dvdsub_id; extern int vobsub_id; extern void exit_player(const char* how); extern void update_set_of_subtitles(void); #endif /* MPLAYER_H */