[Mplayer-cvslog] CVS: main/libmpdemux stream.c,1.39,1.40

Atmosfear atmos4 at mplayerhq.hu
Fri Jul 26 06:04:54 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv2392/libmpdemux

Modified Files:
	stream.c 
Log Message:
warning fixes

Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- stream.c	26 Jul 2002 02:32:41 -0000	1.39
+++ stream.c	26 Jul 2002 04:04:51 -0000	1.40
@@ -6,12 +6,14 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#include <sys/wait.h>
 #include <fcntl.h>
 #include <signal.h>
 
 #include "config.h"
 #include "mp_msg.h"
 #include "help_mp.h"
+#include "../linux/shmem.h"
 
 #include "stream.h"
 #include "demuxer.h"
@@ -33,6 +35,7 @@
 #ifdef USE_DVDREAD
 int dvd_read_sector(void* d,void* p2);
 void dvd_seek(void* d,off_t pos);
+void dvd_close(dvd_priv_t *d);
 #endif
 
 #ifdef HAVE_CDDA
@@ -110,7 +113,7 @@
 }
 
 int stream_seek_long(stream_t *s,off_t pos){
-off_t newpos;
+off_t newpos=0;
 
 //  if(verbose>=3) printf("seek_long to 0x%X\n",(unsigned int)pos);
 




More information about the MPlayer-cvslog mailing list