[FFmpeg-devel] [PATCH 10/10] avformat/nutenc: Don't allocate array with zero entries

Michael Niedermayer michael at niedermayer.cc
Sat May 9 02:06:27 EEST 2020


On Mon, May 04, 2020 at 08:22:50PM +0200, Andreas Rheinhardt wrote:
> Allocating an array with zero entries is both unnecessary as well as
> potentially troublesome because the behaviour in this case is not really
> well defined.

What is not well defined ?

thx

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

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20200509/a9c66817/attachment.sig>


More information about the ffmpeg-devel mailing list