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). _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel