Mercurial > mplayer.hg
changeset 6335:e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
author | arpi |
---|---|
date | Fri, 07 Jun 2002 22:43:29 +0000 |
parents | 5becd843ff47 |
children | 0072709d0630 |
files | Gui/mplayer/gtk/url.c Gui/mplayer/gtk/url.h dll_init.h libao2/afmt.c libdha/mtrr.c libmpcodecs/native/RTjpegN.c libmpcodecs/vd_zlib.c libvo/aspect.c libvo/mga_common.c loader/dshow/DS_VideoDecoder.h loader/win32.c mmx_defs.h mplayer.h my_profile.h |
diffstat | 14 files changed, 19 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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
--- 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);
--- 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 +}
--- 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 <stdio.h> +#include <string.h> #include <errno.h> #include "libdha.h" #include "AsmMacros.h" @@ -81,4 +82,4 @@ { return ENOSYS; } -#endif \ No newline at end of file +#endif
--- 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 ) {
--- 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
--- 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;
--- 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;
--- 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 */
--- 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;
--- 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