On 8 July 2016 at 14:18, Hendrik Leppkes <h.lepp...@gmail.com> wrote:
> On Fri, Jul 8, 2016 at 12:33 PM, Sami Hult <sami.h...@gmail.com> wrote: > > Let me rephrase: avio_put_str, which in my patch is used instead of > > (forbidden) printf, outputs the terminating null-character with the > string. > > > > avio_put_str is intentionally designed to write the null-character as > termination as well, since its typical use is writing single strings > into media files - and those should be null-terminated. > If you want to write a text file, this is probably not the right function. > > All right. The documentation is slightly unclear on the matter, should've read the source. I suggest it be made clear in the api docs. Sami _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel