[FFmpeg-devel] [PATCH] Remove printf format string errors in windows builds
Mon Jan 24 01:10:40 CET 2011
On 1/23/2011 3:40 PM, Diego Elio Petten? wrote:
> Il giorno dom, 23/01/2011 alle 14.58 -0800, Larry Robinson ha scritto:
>> This patch uses #ifndef _WIN32 to replace these specifiers with `%Id'
>> (the windows equivalent) for windows builds.
> Aren't there PRI or SCN macros to use to replace those rather than
> doubling the lines with #if _WIN32?
Yes, I could include <inttypes.h> and use PRId64 and PRIu64; I was
concerned that some older systems (pre 1999) wouldn't have inttypes.h
and so chose this route. But I'm new here and very open to suggestions!
More information about the ffmpeg-devel