[FFmpeg-cvslog] avdevice/lavfi: add io.h, should fix msvc build

Michael Niedermayer git at videolan.org
Tue Jul 8 21:04:19 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul  8 20:29:59 2014 +0200| [eee6ad38f99ad38b7d60382f572cbd5542a80c4c] | committer: Michael Niedermayer

avdevice/lavfi: add io.h, should fix msvc build

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavdevice/lavfi.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index f96fe83..4fc09d8 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -45,6 +45,9 @@
 #if HAVE_UNISTD_H
 #include <unistd.h>             /* close() */
 #endif
+#if HAVE_IO_H
+#include <io.h>
+#endif
 
 typedef struct {
     AVClass *class;          ///< class for private options



More information about the ffmpeg-cvslog mailing list