[Mplayer-cvslog] CVS: main/libmpdemux stream.c,1.54,1.55

Sascha Sommer CVS faust3 at mplayerhq.hu
Wed Apr 2 18:52:27 CEST 2003


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

Modified Files:
	stream.c 
Log Message:
MINGW32 port

Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- stream.c	2 Apr 2003 16:25:07 -0000	1.54
+++ stream.c	2 Apr 2003 16:52:00 -0000	1.55
@@ -5,8 +5,10 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifndef __MINGW32__
 #include <sys/ioctl.h>
 #include <sys/wait.h>
+#endif
 #include <fcntl.h>
 #include <signal.h>
 #include <strings.h>
@@ -412,12 +414,14 @@
 
 void free_stream(stream_t *s){
 //  printf("\n*** free_stream() called ***\n");
+#ifdef USE_STREAM_CACHE
   if(s->cache_pid) {
 //    kill(s->cache_pid,SIGTERM);
     kill(s->cache_pid,SIGKILL);
     waitpid(s->cache_pid,NULL,0);
     shmem_free(s->cache_data);
   }
+#endif
   if(s->fd>0) close(s->fd);
   switch(s->type) {
 #ifdef LIBSMBCLIENT



More information about the MPlayer-cvslog mailing list