From cc6428a72ccc30d1bf5045e16a73392ece7c398b Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 25 Jul 2010 17:43:22 +0000 Subject: [PATCH] vo_corevideo: Move variable into the only function it's used in git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31826 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_corevideo.h | 1 - libvo/vo_corevideo.m | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_corevideo.h b/libvo/vo_corevideo.h index 85406661b9..2590df871c 100644 --- a/libvo/vo_corevideo.h +++ b/libvo/vo_corevideo.h @@ -40,7 +40,6 @@ { //Cocoa NSWindow *window; - NSEvent *event; //CoreVideo CVPixelBufferRef frameBuffers[2]; diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m index a135d03723..2a0f0ef7d2 100644 --- a/libvo/vo_corevideo.m +++ b/libvo/vo_corevideo.m @@ -878,6 +878,7 @@ static int control(uint32_t request, void *data) */ - (void) check_events { + NSEvent *event; int curTime = TickCount()/60; //automatically hide mouse cursor (and future on-screen control?)