[MPlayer-dev-eng] [ANNOUNCE] MPlayer 0.90pre3 RPM packages available

Dominik Mierzejewski dominik at rangers.eu.org
Mon May 13 12:42:44 CEST 2002


On Monday, 13 May 2002, Arpi wrote:
> Hi,
> 
> > > > And here is a patch that fixes some of the compilation warnings (mostly
> > > > trivial ones):
> > > i'll check. anyway those reordering of functions aren't welcomed...
> > 
> > Well, take what you like, discard the rest.
> > If reordering is bad style, maybe forward declarations will be acceptable?
> 
> yes, great guess! :)

:-)
OK, revised patch attached.
Also, I've found some worrying warnings in my buildlog:
[...]
/usr/bin/make -C mp3lib
make[1]: Entering directory `/usr/local/share/builder/pkg/BUILD/MPlayer-20020513/mp3lib'
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o sr1.o sr1.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o decode_i586.o decode_i586.c
{standard input}: Assembler messages:
{standard input}:40: Warning: missing operand; zero assumed
{standard input}:43: Warning: missing operand; zero assumed
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o decode_MMX.o decode_MMX.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o dct64_MMX.o dct64_MMX.c
{standard input}: Assembler messages:
{standard input}:14: Warning: missing operand; zero assumed
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o tabinit_MMX.o tabinit_MMX.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o dct36_3dnow.o dct36_3dnow.s
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o dct64_3dnow.o dct64_3dnow.c
{standard input}: Assembler messages:
{standard input}:25: Warning: missing operand; zero assumed
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o dct36_k7.o dct36_k7.s
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o dct64_k7.o dct64_k7.c
{standard input}: Assembler messages:
{standard input}:25: Warning: missing operand; zero assumed
[...]

What do you make of this?
 
-- 
MPlayer RPMs: http://msp-190.man.olsztyn.pl/~dominik/mplayer.html
"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-20020513/libao2/afmt.c.warn	Fri May 10 21:41:46 2002
+++ MPlayer-20020513/libao2/afmt.c	Mon May 13 12:24:27 2002
@@ -81,4 +81,4 @@
 	
     }
     return 8;
-}
\ No newline at end of file
+}
--- MPlayer-20020513/libdha/mtrr.c.warn	Fri May 10 21:41:46 2002
+++ MPlayer-20020513/libdha/mtrr.c	Mon May 13 12:24:27 2002
@@ -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
--- MPlayer-20020513/libmpcodecs/native/RTjpegN.c.warn	Fri Dec 28 19:01:42 2001
+++ MPlayer-20020513/libmpcodecs/native/RTjpegN.c	Mon May 13 12:24:27 2002
@@ -358,7 +358,7 @@
     data[i]= 0;
     break;
   default: 
-	
+    break;
   } 
 
   if( bitoff == 0 ) {
--- MPlayer-20020513/libmpcodecs/native/fli.c.warn	Thu Feb 28 04:01:53 2002
+++ MPlayer-20020513/libmpcodecs/native/fli.c	Mon May 13 12:24:27 2002
@@ -14,6 +14,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "config.h"
 #include "bswap.h"
 #include "mp_msg.h"
--- MPlayer-20020513/libmpcodecs/native/nuppelvideo.c.warn	Sat Apr 13 20:05:57 2002
+++ MPlayer-20020513/libmpcodecs/native/nuppelvideo.c	Mon May 13 12:24:27 2002
@@ -9,6 +9,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "config.h"
 #include "mp_msg.h"
--- MPlayer-20020513/libmpcodecs/native/roqav.c.warn	Fri Apr 19 19:35:27 2002
+++ MPlayer-20020513/libmpcodecs/native/roqav.c	Mon May 13 12:24:27 2002
@@ -8,6 +8,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "config.h"
 #include "bswap.h"
 #include "mp_msg.h"
--- MPlayer-20020513/libmpcodecs/vd_zlib.c.warn	Sat Mar 23 18:27:46 2002
+++ MPlayer-20020513/libmpcodecs/vd_zlib.c	Mon May 13 12:24:27 2002
@@ -131,4 +131,4 @@
 
     return mpi;
 }
-#endif
\ No newline at end of file
+#endif
--- MPlayer-20020513/libmpcodecs/dec_audio.c.warn	Mon May 13 01:27:15 2002
+++ MPlayer-20020513/libmpcodecs/dec_audio.c	Mon May 13 12:24:27 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-20020513/libmpcodecs/vf.c.warn	Mon May 13 01:27:15 2002
+++ MPlayer-20020513/libmpcodecs/vf.c	Mon May 13 12:24:27 2002
@@ -1,8 +1,11 @@
+#include "../config.h"
 #include <stdio.h>
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 
-#include "../config.h"
 #include "../mp_msg.h"
 
 #include "img_format.h"
--- MPlayer-20020513/libmpcodecs/vd.c.warn	Mon May 13 01:27:15 2002
+++ MPlayer-20020513/libmpcodecs/vd.c	Mon May 13 12:24:27 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-20020513/libmpcodecs/mp_image.h.warn	Sun Apr 21 12:44:17 2002
+++ MPlayer-20020513/libmpcodecs/mp_image.h	Mon May 13 12:24:27 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-20020513/libmpcodecs/vf_vo.c.warn	Sat Apr 27 19:49:11 2002
+++ MPlayer-20020513/libmpcodecs/vf_vo.c	Mon May 13 12:24:27 2002
@@ -44,7 +44,7 @@
         int request, void* data){
     switch(request){
     case VFCTRL_DRAW_OSD:
-	if(!vo_config_count) CONTROL_FALSE; // vo not configured?
+	if(!vo_config_count) return CONTROL_FALSE; // vo not configured?
 	video_out->draw_osd();
 	return CONTROL_TRUE;
     }
--- MPlayer-20020513/loader/dshow/DS_VideoDecoder.h.warn	Wed Jan  2 18:11:09 2002
+++ MPlayer-20020513/loader/dshow/DS_VideoDecoder.h	Mon May 13 12:24:27 2002
@@ -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 */
--- MPlayer-20020513/loader/win32.c.warn	Mon Apr 29 13:47:44 2002
+++ MPlayer-20020513/loader/win32.c	Mon May 13 12:29:26 2002
@@ -787,6 +787,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;
--- MPlayer-20020513/my_profile.h.warn	Sun Nov 11 16:20:19 2001
+++ MPlayer-20020513/my_profile.h	Mon May 13 12:24:27 2002
@@ -30,4 +30,4 @@
 
 
 
-#endif
\ No newline at end of file
+#endif
--- MPlayer-20020513/dll_init.h.warn	Thu Apr 11 04:52:28 2002
+++ MPlayer-20020513/dll_init.h	Mon May 13 12:24:27 2002
@@ -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);
 
--- MPlayer-20020513/mmx_defs.h.warn	Tue Oct 30 17:16:49 2001
+++ MPlayer-20020513/mmx_defs.h	Mon May 13 12:24:27 2002
@@ -54,4 +54,4 @@
 #endif
 
 
-#endif
\ No newline at end of file
+#endif


More information about the MPlayer-dev-eng mailing list