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.
This commit is contained in:
wm4 2018-02-01 10:06:14 +01:00 committed by Kevin Mitchell
parent 4f7a56e0c5
commit a4392168f9
No known key found for this signature in database
GPG Key ID: 559A34B46A917232
1 changed files with 1 additions and 0 deletions

View File

@ -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)