changeset 1430:1728d249c783

missing unistd.h (requires for off_t under freebsd)
author arpi
date Wed, 01 Aug 2001 09:14:02 +0000
parents 8986d06b2816
children d1f9cc72a87f
files DOCS/codecs.conf asf_streaming.c asfheader.c aviheader.c aviprint.c dec_audio.c dec_video.c demux_asf.c demux_avi.c demux_mpg.c demuxer.c dll_init.c mplayer.c network.c parse_es.c seek.c stream.c
diffstat 17 files changed, 31 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/codecs.conf	Wed Aug 01 01:02:33 2001 +0000
+++ b/DOCS/codecs.conf	Wed Aug 01 09:14:02 2001 +0000
@@ -118,6 +118,7 @@
 videocodec ffdivx
   info "FFmpeg DivX ;-) (MS MPEG-4 v3)"
   status working
+  fourcc MPG3,mpg3 div3
   fourcc MP43,mp43 div3   ; M$ MPEG4 v3   (fourcc mapping to div3)
   fourcc DIV5,div5 div3   ; DivX 3.20 
   fourcc DIV6,div6 div4   ;   -||-
--- a/asf_streaming.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/asf_streaming.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "url.h"
 #include "http.h"
--- a/asfheader.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/asfheader.c	Wed Aug 01 09:14:02 2001 +0000
@@ -3,6 +3,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/aviheader.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/aviheader.c	Wed Aug 01 09:14:02 2001 +0000
@@ -2,6 +2,7 @@
 #include "config.h"
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/aviprint.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/aviprint.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,6 +1,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 //extern int verbose; // defined in mplayer.c
 
--- a/dec_audio.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/dec_audio.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,6 +1,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "config.h"
 #include "libao2/afmt.h"
--- a/dec_video.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/dec_video.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,6 +1,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "config.h"
 
--- a/demux_asf.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/demux_asf.c	Wed Aug 01 09:14:02 2001 +0000
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/demux_avi.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/demux_avi.c	Wed Aug 01 09:14:02 2001 +0000
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/demux_mpg.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/demux_mpg.c	Wed Aug 01 09:14:02 2001 +0000
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/demuxer.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/demuxer.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,11 +1,12 @@
 //=================== DEMUXER v2.5 =========================
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-
 extern int verbose; // defined in mplayer.c
 
 #include "config.h"
--- a/dll_init.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/dll_init.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,6 +1,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "config.h"
 
--- a/mplayer.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/mplayer.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,7 +1,9 @@
 // AVI & MPEG Player    v0.18   (C) 2000-2001. by A'rpi/ESP-team
 
-#include "version.h"
-#include "config.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
 
 #include <sys/ioctl.h>
 #include <sys/mman.h>
@@ -15,11 +17,9 @@
 #include <time.h>
 
 #include <fcntl.h>
-#include <unistd.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include "version.h"
+#include "config.h"
 
 #ifdef __FreeBSD__
 #include <sys/cdrio.h>
--- a/network.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/network.c	Wed Aug 01 09:14:02 2001 +0000
@@ -6,7 +6,11 @@
 
 //#define DUMP2FILE
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
+
 #include <fcntl.h>
 #include <netdb.h>
 #include <netinet/in.h>
@@ -19,9 +23,6 @@
 
 #include <errno.h>
 #include <ctype.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
 
 #include "stream.h"
 #include "demuxer.h"
--- a/parse_es.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/parse_es.c	Wed Aug 01 09:14:02 2001 +0000
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/seek.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/seek.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 extern int verbose; // defined in mplayer.c
 
--- a/stream.c	Wed Aug 01 01:02:33 2001 +0000
+++ b/stream.c	Wed Aug 01 09:14:02 2001 +0000
@@ -1,14 +1,14 @@
 
-#include "config.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
-#include <unistd.h>
 
-#include <stdio.h>
-#include <stdlib.h>
+#include "config.h"
 
 #include "stream.h"