From fb9187129c3d07ac6d0f7deaa27f1248394d8f91 Mon Sep 17 00:00:00 2001 From: Andreas Weis Date: Wed, 27 Apr 2016 08:15:17 +0200 Subject: avutil/log: added av_log_format_line2 which returns buffer length 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 Signed-off-by: Michael Niedermayer --- doc/APIchanges | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/APIchanges b/doc/APIchanges index de7280735a..d777dc0f40 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,10 @@ libavutil: 2015-08-28 API changes, most recent first: +2016-04-27 - xxxxxxx - lavu 55.23.100 - log.h + Add a new function av_log_format_line2() which returns number of bytes + written to the target buffer. + 2016-xx-xx - xxxxxxx - lavc 57.37.100 - avcodec.h Add a new audio/video encoding and decoding API with decoupled input and output -- avcodec_send_packet(), avcodec_receive_frame(), -- cgit v1.2.3