Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-21 11:58:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-21 11:58:38 +0400
commitd599b643b7a1882ea79851e334d7ed133f362bb3 (patch)
tree4e4640c1b2e7cc82d9db81dbd98a39777dcbce7c /source/blender/quicktime
parentf3ece5a108db0bdbefb4663ef4ebd9a7e039e263 (diff)
style cleanup: bge, switch statements mostly.
also left bmesh decimator on in previous commit.
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r--source/blender/quicktime/apple/qtkit_import.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/quicktime/apple/qtkit_import.m b/source/blender/quicktime/apple/qtkit_import.m
index b568a1255a8..e420eb1efa7 100644
--- a/source/blender/quicktime/apple/qtkit_import.m
+++ b/source/blender/quicktime/apple/qtkit_import.m
@@ -102,7 +102,7 @@ int anim_is_quicktime (const char *name)
pool = [[NSAutoreleasePool alloc] init];
if([QTMovie canInitWithFile:[NSString stringWithCString:name
- encoding:[NSString defaultCStringEncoding]]])
+ encoding:[NSString defaultCStringEncoding]]])
{
[pool drain];
return true;
@@ -162,11 +162,11 @@ static ImBuf * nsImageToiBuf(NSImage *sourceImage, int width, int height)
/*Get the bitmap of the image*/
enumerator = [[sourceImage representations] objectEnumerator];
while ((representation = [enumerator nextObject])) {
- if ([representation isKindOfClass:[NSBitmapImageRep class]]) {
- bitmapImage = (NSBitmapImageRep *)representation;
+ if ([representation isKindOfClass:[NSBitmapImageRep class]]) {
+ bitmapImage = (NSBitmapImageRep *)representation;
break;
- }
- }
+ }
+ }
if (bitmapImage == nil) return NULL;
if (([bitmapImage bitsPerPixel] == 32) && (([bitmapImage bitmapFormat] & 0x5) == 0)
@@ -382,7 +382,7 @@ int startquicktime (struct anim *anim)
anim->curposition = 0;
[pool drain];
-
+
return 0;
}