[FFmpeg-devel] [PATCH] avformat/flvenc: Avoid avio_write(pb, "", 0)

Kieran Kunhya kierank at obe.tv
Thu Mar 21 15:17:31 EET 2024


On Thu, 21 Mar 2024 at 13:13, Andreas Rheinhardt <
andreas.rheinhardt at outlook.com> wrote:

> Andreas Rheinhardt:
> > When the compiler chooses to inline put_amf_string(pb, ""),
> > the avio_write(pb, "", 0) can be avoided. Happens with
> > Clang-17 with -O1 and higher and GCC 13 with -O2 and higher
> > here.
>

Are you able to add a comment in the code? It's not 100% clear what you are
doing.

Kieran


More information about the ffmpeg-devel mailing list