27 #include "libavutil/error.h"
29 #if !defined(va_copy) && defined(_MSC_VER)
30 #define va_copy(dst, src) ((dst) = (src))
52 return _vscprintf(fmt, ap);
64 ret = _vsnprintf(s, n - 1, fmt, ap_copy);
67 ret = _vscprintf(fmt, ap);
int avpriv_snprintf(char *s, size_t n, const char *fmt,...)
int avpriv_vsnprintf(char *s, size_t n, const char *fmt, va_list ap)