summaryrefslogtreecommitdiffstats
path: root/player/external_files.h
diff options
context:
space:
mode:
authorwnoun <wnoun@outlook.com>2019-05-26 16:58:25 +0800
committerwm4 <wm4@nowhere>2019-09-20 13:54:17 +0200
commit35da5a4d8e9f8616eaa55af3219cbb6139d6d68c (patch)
tree7f8ba179101bedea7d545448fa3442bfa26871e4 /player/external_files.h
parentdb09d77e46128a68f06dc89d34bdc6045ace63f2 (diff)
downloadmpv-35da5a4d8e9f8616eaa55af3219cbb6139d6d68c.tar.bz2
mpv-35da5a4d8e9f8616eaa55af3219cbb6139d6d68c.tar.xz
render api: fix use-after-free
render api needs to wait for vo to be destroyed before frees the context. The purpose of kill_cb is to wake up render api after vo is destroyed, but uninit did that before kill_cb, so kill_cb tries using the freed memory. Remove kill_cb to fix the issue as uninit is able to do the work.
Diffstat (limited to 'player/external_files.h')
0 files changed, 0 insertions, 0 deletions