Move variable into the only function where it is used.
author |
reimar |
date |
Sun, 25 Jul 2010 17:43:22 +0000 |
parents |
a320b893f660 |
children |
54f1eb233db9 |
files |
libvo/vo_corevideo.h libvo/vo_corevideo.m |
diffstat |
2 files changed, 1 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/libvo/vo_corevideo.h Sun Jul 25 17:40:44 2010 +0000
+++ b/libvo/vo_corevideo.h Sun Jul 25 17:43:22 2010 +0000
@@ -40,7 +40,6 @@
{
//Cocoa
NSWindow *window;
- NSEvent *event;
//CoreVideo
CVPixelBufferRef frameBuffers[2];
--- a/libvo/vo_corevideo.m Sun Jul 25 17:40:44 2010 +0000
+++ b/libvo/vo_corevideo.m Sun Jul 25 17:43:22 2010 +0000
@@ -878,6 +878,7 @@
*/
- (void) check_events
{
+ NSEvent *event;
int curTime = TickCount()/60;
//automatically hide mouse cursor (and future on-screen control?)