[MPlayer-dev-eng] Another set of compiler warning fixes
Dominik Mierzejewski
dominik at rangers.eu.org
Tue Jun 18 21:07:15 CEST 2002
Looks like most of my fixes were applied to CVS recently.
However, few are still missing. Apply at your own discretion.
--
MPlayer RPMs: http://msp-190.man.olsztyn.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>
-------------- next part --------------
--- MPlayer-20020614/Gui/mplayer/gtk/menu.h.gui Wed Nov 14 18:48:38 2001
+++ MPlayer-20020614/Gui/mplayer/gtk/menu.h Fri Jun 14 14:16:50 2002
@@ -10,4 +10,4 @@
extern GtkWidget * AddSeparator( GtkWidget * Menu );
extern GtkWidget * create_PopUpMenu( void );
-#endif
\ No newline at end of file
+#endif
--- MPlayer-20020614/Gui/mplayer/gtk/opts.h.gui Wed Nov 14 17:05:33 2001
+++ MPlayer-20020614/Gui/mplayer/gtk/opts.h Fri Jun 14 14:16:50 2002
@@ -6,4 +6,4 @@
void HideOptions( void );
GtkWidget * create_Options( void );
-#endif
\ No newline at end of file
+#endif
--- MPlayer-20020614/Gui/mplayer/play.c.gui Fri Jun 7 23:01:59 2002
+++ MPlayer-20020614/Gui/mplayer/play.c Fri Jun 14 14:16:50 2002
@@ -1,6 +1,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <signal.h>
--- MPlayer-20020614/Gui/app.c.gui Tue May 28 17:51:14 2002
+++ MPlayer-20020614/Gui/app.c Fri Jun 14 14:16:50 2002
@@ -13,6 +13,8 @@
#include "mplayer/mplayer.h"
#include "interface.h"
+extern char *get_path(char *);
+
listItems appMPlayer;
char * skinDirInHome=NULL;
-------------- next part --------------
--- MPlayer-20020618/libmpcodecs/dec_audio.c.warn Tue May 28 17:51:22 2002
+++ MPlayer-20020618/libmpcodecs/dec_audio.c Tue Jun 18 19:51:31 2002
@@ -26,6 +26,8 @@
static ad_functions_t* mpadec;
+void uninit_audio(sh_audio_t *sh_audio); /* forward declaration */
+
int init_audio(sh_audio_t *sh_audio)
{
unsigned i;
--- MPlayer-20020618/libmpcodecs/vd.c.warn Fri Jun 14 14:14:46 2002
+++ MPlayer-20020618/libmpcodecs/vd.c Tue Jun 18 19:51:31 2002
@@ -23,6 +23,8 @@
#include "vd.h"
#include "vf.h"
+#include "dec_video.h"
+
//#include "vd_internal.h"
extern vd_functions_t mpcodecs_vd_null;
--- MPlayer-20020618/libmpcodecs/mp_image.h.warn Sun Apr 21 12:44:17 2002
+++ MPlayer-20020618/libmpcodecs/mp_image.h Tue Jun 18 19:51:31 2002
@@ -1,6 +1,8 @@
#ifndef __MP_IMAGE_H
#define __MP_IMAGE_H 1
+#include <string.h>
+
// set if buffer content shouldn't be modified:
#define MP_IMGFLAG_PRESERVE 0x01
// set if buffer content will be READED for next frame's MC: (I/P mpeg frames)
--- MPlayer-20020618/libmpcodecs/vd_real.c.warn Thu Jun 13 02:14:28 2002
+++ MPlayer-20020618/libmpcodecs/vd_real.c Tue Jun 18 19:51:31 2002
@@ -25,7 +25,7 @@
LIBVD_EXTERN(real)
-typedef unsigned long ulong;
+/* typedef unsigned long ulong; */ /* already defined in <sys/types.h>, which is included by <stdlib.h> */
ulong (*rvyuv_custom_message)(ulong,ulong);
ulong (*rvyuv_free)(ulong);
--- MPlayer-20020618/libmpcodecs/ad_real.c.warn Fri Jun 14 03:48:14 2002
+++ MPlayer-20020618/libmpcodecs/ad_real.c Tue Jun 18 21:00:05 2002
@@ -23,7 +23,7 @@
LIBAD_EXTERN(real)
-typedef unsigned long ulong;
+/* typedef unsigned long ulong; */ /* already defined in <sys/types.h>, which is included by <stdlib.h> */
static void *handle=NULL;
More information about the MPlayer-dev-eng
mailing list