[FFmpeg-cvslog] lavf: remove unnecessary inclusions of unistd.h

Mans Rullgard git at videolan.org
Wed Jun 20 21:25:30 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Jun 19 15:11:34 2012 +0100| [4e5a51481343ef4e08a3779186f466f3458259ff] | committer: Mans Rullgard

lavf: remove unnecessary inclusions of unistd.h

These files do not use anything provided by unistd.h.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e5a51481343ef4e08a3779186f466f3458259ff
---

 libavformat/http.c        |    1 -
 libavformat/os_support.c  |    1 -
 libavformat/rtpdec_h264.c |    1 -
 libavformat/rtpproto.c    |    1 -
 4 files changed, 4 deletions(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 8ccb649..ce4a508 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -21,7 +21,6 @@
 
 #include "libavutil/avstring.h"
 #include "avformat.h"
-#include <unistd.h>
 #include "internal.h"
 #include "network.h"
 #include "http.h"
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index 4181350..eaada4b 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -57,7 +57,6 @@ int ff_win32_open(const char *filename_utf8, int oflag, int pmode)
 
 #if CONFIG_NETWORK
 #include <fcntl.h>
-#include <unistd.h>
 #if !HAVE_POLL_H
 #include <sys/time.h>
 #if HAVE_WINSOCK2_H
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 829053a..c192d97 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -39,7 +39,6 @@
 #include "avformat.h"
 #include "mpegts.h"
 
-#include <unistd.h>
 #include "network.h"
 #include <assert.h>
 
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index c93de4a..881a188 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -31,7 +31,6 @@
 #include "rtpdec.h"
 #include "url.h"
 
-#include <unistd.h>
 #include <stdarg.h>
 #include "internal.h"
 #include "network.h"



More information about the ffmpeg-cvslog mailing list