mirror of https://github.com/mpv-player/mpv
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:
parent
4f7a56e0c5
commit
a4392168f9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue