[MPlayer-cvslog] r31826 - in trunk/libvo: vo_corevideo.h vo_corevideo.m

reimar subversion at mplayerhq.hu
Sun Jul 25 19:43:22 CEST 2010


Author: reimar
Date: Sun Jul 25 19:43:22 2010
New Revision: 31826

Log:
Move variable into the only function where it is used.

Modified:
   trunk/libvo/vo_corevideo.h
   trunk/libvo/vo_corevideo.m

Modified: trunk/libvo/vo_corevideo.h
==============================================================================
--- trunk/libvo/vo_corevideo.h	Sun Jul 25 19:40:44 2010	(r31825)
+++ trunk/libvo/vo_corevideo.h	Sun Jul 25 19:43:22 2010	(r31826)
@@ -40,7 +40,6 @@
 {
 	//Cocoa
 	NSWindow *window;
-	NSEvent *event;
 
 	//CoreVideo
 	CVPixelBufferRef frameBuffers[2];

Modified: trunk/libvo/vo_corevideo.m
==============================================================================
--- trunk/libvo/vo_corevideo.m	Sun Jul 25 19:40:44 2010	(r31825)
+++ trunk/libvo/vo_corevideo.m	Sun Jul 25 19:43:22 2010	(r31826)
@@ -878,6 +878,7 @@ static int control(uint32_t request, voi
 */
 - (void) check_events
 {
+	NSEvent *event;
 	int curTime = TickCount()/60;
 
 	//automatically hide mouse cursor (and future on-screen control?)


More information about the MPlayer-cvslog mailing list