# HG changeset patch # User arpi # Date 1023489809 0 # Node ID e9bd97d5c5ccdbc4e9da7793a9881b7caa3a1f07 # Parent 5becd843ff473e0c84f878963b1ebe37c9a26a5e warning & newline fixes by Dominik Mierzejewski diff -r 5becd843ff47 -r e9bd97d5c5cc Gui/mplayer/gtk/url.c --- a/Gui/mplayer/gtk/url.c Fri Jun 07 22:41:26 2002 +0000 +++ b/Gui/mplayer/gtk/url.c Fri Jun 07 22:43:29 2002 +0000 @@ -12,6 +12,7 @@ #include "url.h" #include "../../interface.h" #include "../../events.h" +#include "../widgets.h" GtkWidget * URL; int gtkVURLDialogBox = 0; diff -r 5becd843ff47 -r e9bd97d5c5cc Gui/mplayer/gtk/url.h --- a/Gui/mplayer/gtk/url.h Fri Jun 07 22:41:26 2002 +0000 +++ b/Gui/mplayer/gtk/url.h Fri Jun 07 22:43:29 2002 +0000 @@ -8,4 +8,4 @@ extern void ShowURLDialogBox( void ); extern GtkWidget * create_URL( void ); -#endif \ No newline at end of file +#endif diff -r 5becd843ff47 -r e9bd97d5c5cc dll_init.h --- a/dll_init.h Fri Jun 07 22:41:26 2002 +0000 +++ b/dll_init.h Fri Jun 07 22:43:29 2002 +0000 @@ -4,9 +4,11 @@ extern char* win32_codec_name; // must be set before calling DrvOpen() !!! int init_acm_audio_codec(sh_audio_t *sh_audio); +int close_acm_audio_codec(sh_audio_t *sh_audio); int acm_decode_audio(sh_audio_t *sh_audio, void* a_buffer,int minlen,int maxlen); int init_vfw_video_codec(sh_video_t *sh_video,int ex); +int vfw_close_video_codec(sh_video_t *sh_video, int ex); int vfw_decode_video(sh_video_t* sh_video,void* start,int in_size,int drop_frame,int ex); int vfw_set_postproc(sh_video_t* sh_video,int quality); diff -r 5becd843ff47 -r e9bd97d5c5cc libao2/afmt.c --- a/libao2/afmt.c Fri Jun 07 22:41:26 2002 +0000 +++ b/libao2/afmt.c Fri Jun 07 22:43:29 2002 +0000 @@ -81,4 +81,4 @@ } return 8; -} \ No newline at end of file +} diff -r 5becd843ff47 -r e9bd97d5c5cc libdha/mtrr.c --- a/libdha/mtrr.c Fri Jun 07 22:41:26 2002 +0000 +++ b/libdha/mtrr.c Fri Jun 07 22:43:29 2002 +0000 @@ -8,6 +8,7 @@ #include "config.h" #include +#include #include #include "libdha.h" #include "AsmMacros.h" @@ -81,4 +82,4 @@ { return ENOSYS; } -#endif \ No newline at end of file +#endif diff -r 5becd843ff47 -r e9bd97d5c5cc libmpcodecs/native/RTjpegN.c --- a/libmpcodecs/native/RTjpegN.c Fri Jun 07 22:41:26 2002 +0000 +++ b/libmpcodecs/native/RTjpegN.c Fri Jun 07 22:43:29 2002 +0000 @@ -358,7 +358,7 @@ data[i]= 0; break; default: - + break; } if( bitoff == 0 ) { diff -r 5becd843ff47 -r e9bd97d5c5cc libmpcodecs/vd_zlib.c --- a/libmpcodecs/vd_zlib.c Fri Jun 07 22:41:26 2002 +0000 +++ b/libmpcodecs/vd_zlib.c Fri Jun 07 22:43:29 2002 +0000 @@ -131,4 +131,4 @@ return mpi; } -#endif \ No newline at end of file +#endif diff -r 5becd843ff47 -r e9bd97d5c5cc libvo/aspect.c --- a/libvo/aspect.c Fri Jun 07 22:41:26 2002 +0000 +++ b/libvo/aspect.c Fri Jun 07 22:43:29 2002 +0000 @@ -101,7 +101,7 @@ void panscan_calc( void ) { - int vo_panscan_area = (vo_screenheight-vo_dheight); + int vo_panscan_area = (aspdat.scrh-vo_dheight); vo_panscan_amount = vo_fs ? vo_panscan : 0; vo_panscan_x = vo_panscan_area * vo_panscan_amount * aspdat.asp; vo_panscan_y = vo_panscan_area * vo_panscan_amount; diff -r 5becd843ff47 -r e9bd97d5c5cc libvo/mga_common.c --- a/libvo/mga_common.c Fri Jun 07 22:41:26 2002 +0000 +++ b/libvo/mga_common.c Fri Jun 07 22:43:29 2002 +0000 @@ -4,6 +4,9 @@ #include "../postproc/rgb2rgb.h" // mga_vid drawing functions +#ifdef VO_XMGA +static void set_window( int ps ); /* forward declaration to kill warnings */ +#endif static int mga_next_frame=0; diff -r 5becd843ff47 -r e9bd97d5c5cc loader/dshow/DS_VideoDecoder.h --- a/loader/dshow/DS_VideoDecoder.h Fri Jun 07 22:41:26 2002 +0000 +++ b/loader/dshow/DS_VideoDecoder.h Fri Jun 07 22:43:29 2002 +0000 @@ -23,6 +23,7 @@ int DS_VideoDecoder_SetDirection(DS_VideoDecoder *this, int d); int DS_VideoDecoder_GetValue(DS_VideoDecoder *this, const char* name, int* value); int DS_VideoDecoder_SetValue(DS_VideoDecoder *this, const char* name, int value); +int DS_SetAttr_DivX(char* attribute, int value); #endif /* AVIFILE_DS_VIDEODECODER_H */ diff -r 5becd843ff47 -r e9bd97d5c5cc loader/win32.c --- a/loader/win32.c Fri Jun 07 22:41:26 2002 +0000 +++ b/loader/win32.c Fri Jun 07 22:43:29 2002 +0000 @@ -788,6 +788,8 @@ static int pf_set = 0; static BYTE PF[64] = {0,}; +static void WINAPI expGetSystemInfo(SYSTEM_INFO* si); /* forward declaration */ + static WIN_BOOL WINAPI expIsProcessorFeaturePresent(DWORD v) { WIN_BOOL result; diff -r 5becd843ff47 -r e9bd97d5c5cc mmx_defs.h --- a/mmx_defs.h Fri Jun 07 22:41:26 2002 +0000 +++ b/mmx_defs.h Fri Jun 07 22:43:29 2002 +0000 @@ -54,4 +54,4 @@ #endif -#endif \ No newline at end of file +#endif diff -r 5becd843ff47 -r e9bd97d5c5cc mplayer.h --- a/mplayer.h Fri Jun 07 22:41:26 2002 +0000 +++ b/mplayer.h Fri Jun 07 22:43:29 2002 +0000 @@ -9,4 +9,4 @@ extern void exit_player(char* how); -#endif \ No newline at end of file +#endif diff -r 5becd843ff47 -r e9bd97d5c5cc my_profile.h --- a/my_profile.h Fri Jun 07 22:41:26 2002 +0000 +++ b/my_profile.h Fri Jun 07 22:43:29 2002 +0000 @@ -30,4 +30,4 @@ -#endif \ No newline at end of file +#endif