[FFmpeg-devel] [FFmpeg-cvslog] lavf: more correct printf format specifiers
Derek Buitenhuis
derek.buitenhuis at gmail.com
Wed Mar 12 13:42:31 CET 2014
On 3/12/2014 12:33 PM, Nicolas George wrote:
> $ gcc -E -dM -x c /dev/null | grep __UINT32_TYPE__
> #define __UINT32_TYPE__ unsigned int
Sorry, to clarify, int is only 32-bits on Windows64, so unsigned int is not strictly
== to uint32_t on all platforms.
As for James' earlier assertion, abusing platform-specific knowledge
of what uint32_t is typedef'd as is a horrible idea, and all relevant
specifications do indeed tell you to use PRIi32.
I fail to see the point of Clement's complaint, as the result was indeed
more correct.
- Derek
More information about the ffmpeg-devel
mailing list