[FFmpeg-devel] [PATCH 0/2] Fix our implementation of vsnprintf

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 14 21:08:18 CEST 2012

This varies from the version I've sent to Libav due to certain design choices
they want, but FFmpeg requires a header, since cmdutils.c uses it.

After this, my older bprint patch can be applied.

Tested with make fate-bprint, and all the fate subtitle tests. It also
is confirmed to fix argument parsing (e.g. in opt_qscale).

Derek Buitenhuis (1):
  msvc: Add a va_copy compatability macro for msvc

Ronald S. Bultje (1):
  compat/vsnprintf: return number of bytes required on truncation.

 cmdutils.c               |    1 +
 compat/msvcrt/snprintf.c |   11 ++++++++---
 compat/va_copy.h         |   26 ++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 3 deletions(-)
 create mode 100644 compat/va_copy.h


More information about the ffmpeg-devel mailing list