summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-24 17:40:31 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-24 17:40:31 +0000
commitd49ef7f8ceae96d339f345dacb6bdb73339d20d9 (patch)
tree276a8b11f4891ebb7e0a1aa56c7724d5258f1daa /libvo
parent73235f67714a317b09b667e6441eda0f63938e66 (diff)
downloadmpv-d49ef7f8ceae96d339f345dacb6bdb73339d20d9.tar.bz2
mpv-d49ef7f8ceae96d339f345dacb6bdb73339d20d9.tar.xz
fix crash when using close button
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13120 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_quartz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index 7f6207ceea..4ac3dc0c52 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -213,6 +213,7 @@ static OSStatus MainEventHandler(EventHandlerCallRef nextHandler, EventRef event
{
//close window
case kEventWindowClosed:
+ uninit();
mplayer_put_key(KEY_ESC);
break;