diff options
Diffstat (limited to 'libavfilter/af_join.c')
-rw-r--r-- | libavfilter/af_join.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c index 14742de0e4..172eda387d 100644 --- a/libavfilter/af_join.c +++ b/libavfilter/af_join.c @@ -487,7 +487,8 @@ static int join_request_frame(AVFilterLink *outlink) ret = ff_filter_frame(outlink, frame); - memset(s->input_frames, 0, sizeof(*s->input_frames) * ctx->nb_inputs); + for (i = 0; i < ctx->nb_inputs; i++) + av_frame_free(&s->input_frames[i]); return ret; |