[Mplayer-cvslog] CVS: main/libmpdemux cache2.c,1.9,1.10 stream.h,1.18,1.19 video.c,1.5,1.6

pl pl at mplayer.dev.hu
Tue Dec 25 12:21:01 CET 2001


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

Modified Files:
	cache2.c stream.h video.c 
Log Message:
missing #include's

Note: stream.h contains static inline functions, which is not quite clean :/



Index: cache2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/cache2.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- cache2.c	19 Dec 2001 02:16:43 -0000	1.9
+++ cache2.c	25 Dec 2001 11:20:58 -0000	1.10
@@ -14,6 +14,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <signal.h>
+#include <sys/types.h>
+#include <unistd.h>
 
 #include "../linux/shmem.h"
 

Index: stream.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- stream.h	19 Dec 2001 02:16:43 -0000	1.18
+++ stream.h	25 Dec 2001 11:20:58 -0000	1.19
@@ -53,6 +53,8 @@
 int cache_stream_fill_buffer(stream_t *s);
 int cache_stream_seek_long(stream_t *s,off_t pos);
 
+#include <string.h>
+
 inline static int stream_read_char(stream_t *s){
   return (s->buf_pos<s->buf_len)?s->buffer[s->buf_pos++]:
     (cache_stream_fill_buffer(s)?s->buffer[s->buf_pos++]:-256);

Index: video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/video.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- video.c	23 Dec 2001 01:34:49 -0000	1.5
+++ video.c	25 Dec 2001 11:20:58 -0000	1.6
@@ -7,6 +7,7 @@
 #include <malloc.h>
 #endif
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #include "mp_msg.h"




More information about the MPlayer-cvslog mailing list