summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-26 19:44:21 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-30 11:53:22 +0100
commit4913f05ccf70dc1470f284b9a32c0e66991f6029 (patch)
treec27b72ca676e67d2791a5b19bc9a71be2b4a00c6 /fftools/ffmpeg.c
parentd9f07a506d230321f826dcb50828e1d10e852b44 (diff)
fftools/ffmpeg_opt: Don't duplicate array unnecessarily
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 25360423b5..18302f3b5f 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -555,9 +555,6 @@ static void ffmpeg_cleanup(int ret)
avfilter_inout_free(&ofilter->out_tmp);
av_freep(&ofilter->name);
- av_freep(&ofilter->formats);
- av_freep(&ofilter->channel_layouts);
- av_freep(&ofilter->sample_rates);
av_freep(&fg->outputs[j]);
}
av_freep(&fg->outputs);