gephex--main--0.4--patch-1819

[email protected]
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
Archive: [email protected]
New revision: gephex--main--0.4--patch-1819

--
Revision: gephex--main--0.4--patch-1819
Archive: [email protected]
Creator: GePhex <[email protected]>
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: [email protected]/gephex--georg--0.4--patch-364
    [email protected]/gephex--main--0.4--patch-1819
Summary: added unistd.h to y4moutputmodule
Keywords: 

Patches applied:

 * [email protected]/gephex--georg--0.4--patch-364
   Added unistd header to y4moutmodule

* added files

    {arch}/gephex/gephex--georg/gephex--georg--0.4/[email protected]/patch-log/patch-364
    {arch}/gephex/gephex--main/gephex--main--0.4/[email protected]/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};
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.