[FFmpeg-devel] [PATCH 3/7] avfilter/formats: Resize potentially oversized arrays

Nicolas George george at nsup.org
Wed Aug 19 20:11:09 EEST 2020


Andreas Rheinhardt (12020-08-15):
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavfilter/formats.c | 4 ++++
>  1 file changed, 4 insertions(+)

The patch works, but I do not think it is necessary or even useful:
these arrays are short-lived anyway, they will be freed very soon
anyway.

(Also, we may want to make them power-of-two dynarrays at some places,
to avoid quadratic adds of formats.)

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200819/3537b8b6/attachment.sig>


More information about the ffmpeg-devel mailing list