[Ffmpeg-devel] [PATCH] Missing "inttypes.h" on windows
Mon Nov 7 02:36:25 CET 2005
----- Original Message -----
From: "Rich Felker" <dalias at aerifal.cx>
To: "FFMpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Monday, November 07, 2005 2:33 AM
Subject: Re: [Ffmpeg-devel] [PATCH] Missing "inttypes.h" on windows
> On Sun, Nov 06, 2005 at 07:43:12PM +0100, Fredrik Orderud wrote:
>> Neither the Microsoft windows platform SDK nor Visual Studio ships with
>> "inttypes.h" header. This leads to compile errors when using ffmpeg DLLs
>> in visual-studio projects, unless EMULATE_INTTYPES is defined.
>> I propose automatically defining EMULATE_INTTYPES in "libavutil/common.h"
>> for all windows-systems, except cygwin and mingw. This would simplify
>> of ffmpeg libraries on windows computers.
> there are already countless other reasons why libav* will not work on
> microsoft compilers (which are not c compliant).
What are you talking about?
The ffmpeg shared libraries (DLLs) works great for me when I use them in
visual studio. I process MPEG4 movies in windows completely trouble-free. :)
The only thing I need to do to avoid compile errrors is to manually define
Windows-users would be saved from this unnecessary trouble if
"libavutil/common.h" had automatically defined this variable.
Ph.D student in Computer Science, NTNU
More information about the ffmpeg-devel