[FFmpeg-devel] [PATCH 02/13] avformat/mux: Don't unnecessarily zero-initialize AVPacketList

Michael Niedermayer michael at niedermayer.cc
Sun Jan 26 18:09:10 EET 2020


On Tue, Aug 13, 2019 at 04:47:15AM +0200, Andreas Rheinhardt wrote:
> If no error occurs and this AVPacketList is used at all, its packet
> substructure will be overwritten and its next pointer explicitly set, so
> every field will still be initialized even when using av_malloc.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/mux.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200126/7041c974/attachment.sig>


More information about the ffmpeg-devel mailing list