diff options
author | wm4 <wm4@nowhere> | 2018-02-01 10:06:14 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-03 05:01:30 -0800 |
commit | a4392168f99e5ef27fd0e078578baf2fd29bdd70 (patch) | |
tree | 6c52aefe1289fb4260a21e831bc581409806d9c9 | |
parent | 4f7a56e0c57af29cec84675cbad7ff3f91d696d0 (diff) | |
download | mpv-a4392168f99e5ef27fd0e078578baf2fd29bdd70.tar.bz2 mpv-a4392168f99e5ef27fd0e078578baf2fd29bdd70.tar.xz |
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.
-rw-r--r-- | filters/f_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |