[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17302] trunk/lib/windows/ffmpeg/Readme. txt: Update ffmpeg Windows readme to reflex latest modifications for VideoTexture .

Benoit Bolsee benoit.bolsee at online.be
Sun Nov 2 21:19:37 CET 2008


Revision: 17302
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17302
Author:   ben2610
Date:     2008-11-02 21:19:36 +0100 (Sun, 02 Nov 2008)

Log Message:
-----------
Update ffmpeg Windows readme to reflex latest modifications for VideoTexture.

Modified Paths:
--------------
    trunk/lib/windows/ffmpeg/Readme.txt

Modified: trunk/lib/windows/ffmpeg/Readme.txt
===================================================================
--- trunk/lib/windows/ffmpeg/Readme.txt	2008-11-02 19:44:18 UTC (rev 17301)
+++ trunk/lib/windows/ffmpeg/Readme.txt	2008-11-02 20:19:36 UTC (rev 17302)
@@ -26,4 +26,28 @@
 3. Replace every occurance of "static inline" with "__inline"
 4. copy the stdint.h and inttypes.h from <mingw>/include directory to <blender_home>/lib/windows/ffmpeg/include directory
 5. Optionally add #indef statements in inttypes.h to avoid conflict with same file from QUickTime compatibility module.
+6. modify stdint.h to make it compatible with MSVC C++ headers:
+Add signed to int8_t, int16_t, int32_t, int64_t:
+   typedef signed __int8     int8_t;
+   typedef signed __int16    int16_t;
+   typedef signed __int32    int32_t;
+   typedef signed __int64    int64_t;
 
+protect intptr_t and  uintptr_t with #if statements:
+   #ifndef _INTPTR_T_DEFINED
+   #ifdef _WIN64
+      typedef __int64           intptr_t;
+   #else // _WIN64
+      typedef long              intptr_t;
+   #endif // _WIN64
+   #define _INTPTR_T_DEFINED
+   #endif
+
+   #ifndef _UINTPTR_T_DEFINED
+   #ifdef _WIN64
+      typedef unsigned __int64  uintptr_t;
+   #else // _WIN64
+      typedef unsigned long     uintptr_t;
+   #endif // _WIN64
+   #define _UINTPTR_T_DEFINED
+   #endif





More information about the Bf-blender-cvs mailing list