diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-18 17:13:35 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-18 17:13:35 +0300 |
commit | 56088ff4dc5180e95ea0c60f86a4b5ffc5c76611 (patch) | |
tree | f2882194201e5997fa76fc97f2eae136833f0573 /TOOLS | |
parent | 350fc4f5a2f6f4fdf9cc689d786d525f6397df5d (diff) | |
download | mpv-56088ff4dc5180e95ea0c60f86a4b5ffc5c76611.tar.bz2 mpv-56088ff4dc5180e95ea0c60f86a4b5ffc5c76611.tar.xz |
vo_vdpau: Fix memory corruption bug with MP_IMGTYPE_NUMBERED
The way vo_vdpau kept references to vf mpi objects was unsafe; with
fixed-vo enabled the vf object could be destroyed and a new one
created, but vo_vdpau would still keep the now stale references and
modify memory through them to adjust usage counts. Send a VOCTRL_RESET
from vf_vo uninit() to allow vo_vdpau to erase such references.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions