[FFmpeg-devel] [PATCH 1/2] avutil/log: added av_log_format_line2 which returns buffer length
Michael Niedermayer
michael at niedermayer.cc
Tue Apr 26 03:33:02 CEST 2016
On Mon, Apr 25, 2016 at 08:32:23AM +0200, der_ghulbus at ghulbus-inc.de wrote:
> From: Andreas Weis <github at ghulbus-inc.de>
>
> The new function behaves the same as av_log_format_line, but also forwards
> the return value from the underlying snprintf call. This will allow
> callers to accurately determine the size requirements for the line buffer.
>
> Signed-off-by: Andreas Weis <github at ghulbus-inc.de>
> ---
> libavutil/log.c | 11 ++++++++++-
> libavutil/log.h | 17 +++++++++++++++++
> 2 files changed, 27 insertions(+), 1 deletion(-)
the addition of a public function need a minor version bump and
APIChanges entry
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160426/5eb53cf6/attachment.sig>
More information about the ffmpeg-devel
mailing list