[FFmpeg-devel] [PATCH] Remove printf format string errors in windows builds

Alex Converse alex.converse
Mon Jan 24 00:59:12 CET 2011


2011/1/23 M?ns Rullg?rd <mans at mansr.com>:
> Diego Elio Petten? <flameeyes at gmail.com> writes:
>
>> 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?
>
> The problem is that windows doesn't implement the C standard.
>

Doesn't MinGW provide it's own stdint/inttypes headers? If it doesn't
I know there are compatibility headers. PRI/SCN constants should be
available somehow.

Regards,

Alex Converse



More information about the ffmpeg-devel mailing list