mirror of https://github.com/FFmpeg/FFmpeg.git
By reallocating the array of pointers to the AVFilterContexts before allocating the new AVFilterContext one can avoid freeing the new AVFilterContext in case the array could not be reallocated. Also switch to av_realloc_array() while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/369/head
parent
68815d6791
commit
22c4f33991
1 changed files with 5 additions and 7 deletions
Loading…
Reference in new issue