[MPlayer-cvslog] r25164 - trunk/libvo/vo_macosx.m
ulion
subversion at mplayerhq.hu
Mon Nov 26 03:57:02 CET 2007
Author: ulion
Date: Mon Nov 26 03:57:02 2007
New Revision: 25164
Log:
Fix warning:
vo_macosx.m:251: warning: ISO C90 forbids mixed declarations and code
Modified:
trunk/libvo/vo_macosx.m
Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m (original)
+++ trunk/libvo/vo_macosx.m Mon Nov 26 03:57:02 2007
@@ -246,9 +246,10 @@ static void uninit(void)
if(mpGLView)
{
+ NSAutoreleasePool *finalPool;
mpGLView = nil;
[autoreleasepool release];
- NSAutoreleasePool *finalPool = [[NSAutoreleasePool alloc] init];
+ finalPool = [[NSAutoreleasePool alloc] init];
[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES];
[finalPool release];
}
More information about the MPlayer-cvslog
mailing list