[FFmpeg-devel] Return value of av_log_format_line

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Apr 17 20:13:37 CEST 2016


On Sun, Apr 17, 2016 at 01:18:42PM +0200, Andreas Weis wrote:
> Since av_log_format_line calls snprintf internally, that might be as
> trivial as just forwarding the return value from that call.

This probably wasn't done because snprintf isn't always
implemented 100% right in this regard (too small/0 buffer size).
In particular, our earlier snprintf emulation for Windows
did not do this correctly (the current one does though,
so it might be fine nowadays).


More information about the ffmpeg-devel mailing list