summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Weis <github@ghulbus-inc.de>2016-04-27 08:15:17 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-27 19:23:05 +0200
commitfb9187129c3d07ac6d0f7deaa27f1248394d8f91 (patch)
treeff1ba082a3a820db6543150695468e93ab4d5b56 /doc
parent6f784c158bd56f2cc73354974ceebb04a40e0f52 (diff)
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 <github@ghulbus-inc.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges4
1 files changed, 4 insertions, 0 deletions
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(),