[SCM] libav/experimental: os_support.h is also needed for usleep and lseek on MinGW.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:09:42 UTC 2013


The following commit has been merged in the experimental branch:
commit a5e979f42cd92136de00761d4e5ca3b4079a3207
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Thu Nov 22 02:27:39 2007 +0000

    os_support.h is also needed for usleep and lseek on MinGW.
    
    Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index 42f0b21..8ea5b3a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -33,6 +33,7 @@
 #include "opt.h"
 #include "fifo.h"
 #include "avstring.h"
+#include "os_support.h"
 
 #if !defined(HAVE_GETRUSAGE) && defined(HAVE_GETPROCESSTIMES)
 #include <windows.h>
diff --git a/libavformat/file.c b/libavformat/file.c
index f611306..6285c1b 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -24,6 +24,7 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <stdlib.h>
+#include "os_support.h"
 
 
 /* standard file protocol */
diff --git a/libavformat/http.c b/libavformat/http.c
index 5bfd736..240840a 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -21,6 +21,7 @@
 #include "avformat.h"
 #include <unistd.h>
 #include "network.h"
+#include "os_support.h"
 
 #include "base64.h"
 #include "avstring.h"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list