]> git.sesse.net Git - ffmpeg/commit
avfilter/avfilter: move enable_str expression parsing into avfilter_init_dict()
authorPaul B Mahol <onemda@gmail.com>
Fri, 5 Feb 2021 11:23:57 +0000 (12:23 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sat, 6 Feb 2021 10:40:59 +0000 (11:40 +0100)
commit6317d40d0813fa1e251730052de87fafb909b829
tree146a63f4a8e957e203c486a1bb3b2004814800dc
parentd0a24bfad17ffc8ce41ac323e5460641ba6dec29
avfilter/avfilter: move enable_str expression parsing into avfilter_init_dict()

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).
libavfilter/avfilter.c