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.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -15,6 +15,10 @@ libavutil: 2015-08-28 · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | API changes, most recent first: |
| 17 | 17 | |
| 18 | +2016-04-27 - xxxxxxx - lavu 55.23.100 - log.h | |
| 19 | + Add a new function av_log_format_line2() which returns number of bytes | |
| 20 | + written to the target buffer. | |
| 21 | + | |
| 18 | 22 | 2016-xx-xx - xxxxxxx - lavc 57.37.100 - avcodec.h |
| 19 | 23 | Add a new audio/video encoding and decoding API with decoupled input |
| 20 | 24 | and output -- avcodec_send_packet(), avcodec_receive_frame(), |