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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jul 22 22:04:24 CEST 2012


On Sun, Jul 22, 2012 at 10:00:17PM +0200, Nicolas George wrote:
> Second, doubling the buffer until vsnprintf stops returning an error is
> risky since there may be other reasons for vsnprintf to return an error than
> a buffer too small: in that case, the error will never go away and the
> buffer will double until INT_MAX.

Actually that was part of why it is RFC: Can you tell me when that would
be the case? I am not aware of when that could happen.


More information about the ffmpeg-devel mailing list