[gephex-devel] gephex--main--0.4--patch-1819

gephex at sonnenland.kexbox.org gephex at sonnenland.kexbox.org
Tue Nov 23 23:12:32 CET 2004


Archive: gephex at gephex.org--2004
New revision: gephex--main--0.4--patch-1819

--
Revision: gephex--main--0.4--patch-1819
Archive: gephex at gephex.org--2004
Creator: GePhex <gephex at gephex.org>
Date: Tue Nov 23 23:12:21 CET 2004
Standard-date: 2004-11-23 22:12:21 GMT
Modified-files: modules/src/yuv4mpeg2module/y4moutputmodule.cpp
New-patches: georg at gephex.org--2004-home/gephex--georg--0.4--patch-364
    gephex at gephex.org--2004/gephex--main--0.4--patch-1819
Summary: added unistd.h to y4moutputmodule
Keywords: 

Patches applied:

 * georg at gephex.org--2004-home/gephex--georg--0.4--patch-364
   Added unistd header to y4moutmodule

* added files

    {arch}/gephex/gephex--georg/gephex--georg--0.4/georg at gephex.org--2004-home/patch-log/patch-364
    {arch}/gephex/gephex--main/gephex--main--0.4/gephex at gephex.org--2004/patch-log/patch-1819

* modified files

--- orig/modules/src/yuv4mpeg2module/y4moutputmodule.cpp
+++ mod/modules/src/yuv4mpeg2module/y4moutputmodule.cpp
@@ -37,12 +37,18 @@
 
 static const int WAIT_CYCLES_AFTER_REOPEN = 1;
 
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
+
 #if defined(_MSC_VER)
 #include <io.h>
 
 //#define close _close
 //#define open _open
 //#define write _write
+#elif defined(OS_POSIX)
+#include <unistd.h> // for write and close
 #endif
 
 enum color_model_t {NONE, YUV420P, BGRA8888};



More information about the gephex-devel mailing list