diff options
author | wm4 <wm4@nowhere> | 2018-02-02 17:22:05 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-03 05:01:32 -0800 |
commit | 2e8bb48ae8de57181b788525f2fdf6fca8461e5f (patch) | |
tree | 00dd214c1d106b5f413e5ac5b3be55ae5c82d0b6 /player/configfiles.c | |
parent | 34fe10e1593920879c5d6c69b43abcf402d50fdc (diff) | |
download | mpv-2e8bb48ae8de57181b788525f2fdf6fca8461e5f.tar.bz2 mpv-2e8bb48ae8de57181b788525f2fdf6fca8461e5f.tar.xz |
loadfile: fix crash in some cases of setting --lavfi-complex at runtime
The somewhat confusing thing is that many filters (including track->dec)
have a public struct, but to free them, you need to free the mp_filter
pointer itself (track->dec->f). The assignment wrote to a dangling
pointer, instead of removing the dangling pointer.
(Other than that, this idiom is actually nice.)
Diffstat (limited to 'player/configfiles.c')
0 files changed, 0 insertions, 0 deletions