[FFmpeg-devel] [PATCH] [RFC] avoid _vscnprintf since it exists only since WinXP.

Nicolas George nicolas.george at normalesup.org
Sun Jul 22 21:10:06 CEST 2012

Le quintidi 5 thermidor, an CCXX, Reimar Döffinger a écrit :
> The MSDN documentation is wrong, this function does not exist
> on e.g. Win2k.
> By my reading of the only case where it is used, this hack should work
> almost as well, though it is ugly and comes with a risk of breaking
> in the future.

I intended to submit a slightly less ugly hack (vsnprintf to a reasonably
large automatic buffer and memcpy). But this version is fine for now.

I would be happier if there was a configure check. Unfortunately, I am
completely clueless about the maze of twisty compiler and libc versions, all
alike that makes the windows build environment


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

More information about the ffmpeg-devel mailing list