[FFmpeg-devel] [PATCH 1/1] librtmp: use AVBPrint instead of char *

Martin Storsjö martin at martin.st
Wed Apr 13 11:52:32 EEST 2022


On Mon, 11 Apr 2022, Tristan Matthews wrote:

> This avoids having to do one pass to calculate the full length to allocate
> followed by a second pass to actually append values.
> ---
> libavformat/librtmp.c | 123 +++++++++++-------------------------------
> 1 file changed, 32 insertions(+), 91 deletions(-)

Thanks, this patch looks good to me. I'll wait for a little while still 
if Marton wants to comment on it, before I go ahead and push it.

// Martin



More information about the ffmpeg-devel mailing list