# HG changeset patch # User reimar # Date 1280079802 0 # Node ID dc95a7191375da5caa5532730965bee9a2bb8b3b # Parent a320b893f660319165aeaaea185e3ebb7dc37fe7 Move variable into the only function where it is used. diff -r a320b893f660 -r dc95a7191375 libvo/vo_corevideo.h --- 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]; diff -r a320b893f660 -r dc95a7191375 libvo/vo_corevideo.m --- 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?)