diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-28 08:07:43 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 16:20:21 +0200 |
commit | 22c4f3399133a62aa11f4af01e7dacea08d4ddae (patch) | |
tree | b1694e2e65ae56483ca37740a187197a42ff0444 /libavfilter/vf_dblur.c | |
parent | 68815d67919a6975357ad214d8fe8ac4c886e47c (diff) | |
download | ffmpeg-22c4f3399133a62aa11f4af01e7dacea08d4ddae.tar.gz |
avfilter/avfiltergraph: Simplify adding filter to graph
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>
Diffstat (limited to 'libavfilter/vf_dblur.c')
0 files changed, 0 insertions, 0 deletions