aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-11-13 15:33:39 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-11-13 15:33:39 +0100
commit198e8b8e774659eacaa7058c7f5704029af5bbbf (patch)
treee8558c0eb7eaeefc367a80dcea27ba3f7a381bef /ffmpeg.c
parent6b449a12906c494f3530d4fa282ec6c4c6aa687e (diff)
parent50722b4f0cbc5940e9e6e21d113888436cc89ff5 (diff)
downloadffmpeg-198e8b8e774659eacaa7058c7f5704029af5bbbf.tar.gz
Merge commit '50722b4f0cbc5940e9e6e21d113888436cc89ff5'
* commit '50722b4f0cbc5940e9e6e21d113888436cc89ff5': avconv: decouple configuring filtergraphs and setting output parameters Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 328bdd0fc5..78999cb734 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -479,6 +479,9 @@ static void ffmpeg_cleanup(int ret)
av_freep(&fg->inputs);
for (j = 0; j < fg->nb_outputs; j++) {
av_freep(&fg->outputs[j]->name);
+ av_freep(&fg->outputs[j]->formats);
+ av_freep(&fg->outputs[j]->channel_layouts);
+ av_freep(&fg->outputs[j]->sample_rates);
av_freep(&fg->outputs[j]);
}
av_freep(&fg->outputs);