[FFmpeg-devel] [PATCH] avfilter/avfilter: move enable_str expression parsing into avfilter_init_dict()

Nicolas George george at nsup.org
Sun Feb 7 18:33:36 EET 2021


Paul B Mahol (12021-02-05):
> This ensures that needed arrays are always allocated and properly initialized.
> 
> Previously if code would use only avfilter_init_dict() to set options for filters
> it would not allocate arrays for timeline processing thus it would crash if
> user supplied enable option for filter(s).
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/avfilter.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

LGTM, thanks.

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/20210207/50f85edd/attachment.sig>


More information about the ffmpeg-devel mailing list