From a4392168f99e5ef27fd0e078578baf2fd29bdd70 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Feb 2018 10:06:14 +0100 Subject: f_utils: fix leak in frame duration filter vf_vapoursynth used this. Could cause a crash at VO uninit, if the leaked frame was allocated via VO DR. --- filters/f_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'filters') diff --git a/filters/f_utils.c b/filters/f_utils.c index 38b4f1d3f9..826f527a0b 100644 --- a/filters/f_utils.c +++ b/filters/f_utils.c @@ -53,6 +53,7 @@ static const struct mp_filter_info frame_duration_filter = { .priv_size = sizeof(struct frame_duration_priv), .process = frame_duration_process, .reset = frame_duration_reset, + .destroy = frame_duration_reset, }; struct mp_filter *mp_compute_frame_duration_create(struct mp_filter *parent) -- cgit v1.2.3