[Ffmpeg-devel] [PATCH] Missing "inttypes.h" on windows

Diego Biurrun diego
Fri Dec 9 23:46:13 CET 2005


On Sun, Nov 06, 2005 at 07:43:12PM +0100, Fredrik Orderud wrote:
> Neither the Microsoft windows platform SDK nor Visual Studio ships with the 
> "inttypes.h" header. This leads to compile errors when using ffmpeg DLLs in 
> 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 usage 
> of ffmpeg libraries on windows computers.

./configure should detect your lack of inttypes.h and EMULATE_INTTYPES
should be #defined in config.h.  Have you tried #including config.h in
libavutil/common.h?

Diego





More information about the ffmpeg-devel mailing list