[FFmpeg-devel] [FFmpeg-cvslog] lavf: more correct printf format specifiers

Nicolas George george at nsup.org
Wed Mar 12 13:45:31 CET 2014


Le duodi 22 ventôse, an CCXXII, Derek Buitenhuis a écrit :
> Sorry, to clarify, int is only 32-bits on Windows64, so unsigned int is
> not strictly == to uint32_t on all platforms.

Your attempt at clarifying still does not work. int is 32-bits on all
64-bits platforms I know, and that is exactly what permits "unsigned int =
uint32_t".

> 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.

I do not deny that, I would just like to understand your first statement.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140312/1b7a5ba4/attachment.asc>


More information about the ffmpeg-devel mailing list