History

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.

Andreas Weis committed 10 years ago

Commit fb918711 parent 6f784c14 files · +33 −3Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -15,6 +15,10 @@ libavutil: 2015-08-28 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182016-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
182016-xx-xx - xxxxxxx - lavc 57.37.100 - avcodec.h222016-xx-xx - xxxxxxx - lavc 57.37.100 - avcodec.h
19 Add a new audio/video encoding and decoding API with decoupled input23 Add a new audio/video encoding and decoding API with decoupled input
20 and output -- avcodec_send_packet(), avcodec_receive_frame(),24 and output -- avcodec_send_packet(), avcodec_receive_frame(),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t