[Ffmpeg-devel] [PATCH] Correct inttypes.h emulation for Visual Studio

Alexander Chemeris ipse.ffmpeg
Sun Dec 3 21:55:06 CET 2006


Hello,

inttypes.h emulation was removed from svn some time ago, and
this makes it non-trivial to use FFMpeg library in Visual Studio projects.
As it is said in this article (chapter "64-Bit Programming in UNIX and
Windows"):
http://www.microsoft.com/technet/interopMigration/taskstools/migrate/unix/ucamg/ch02uav3.mspx
Unix and Windows use different headers for explicitly sized data types. And
even name this types different.

I created patch that maps Windows explicitly sized data types to Unix ones.

Note: May be #if condition should be changed, I'm not sure about it.

-- 
Regards,
Alexander Chemeris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inttypes.patch
Type: application/octet-stream
Size: 520 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061203/703afda5/attachment.obj>



More information about the ffmpeg-devel mailing list