mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
typo
git-svn-id: https://zxing.googlecode.com/svn/trunk@2635 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
b7eda3b84d
commit
2e7917e3b1
|
@ -409,7 +409,7 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
|
||||||
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
|
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
|
||||||
CGContextRef newContext =
|
CGContextRef newContext =
|
||||||
CGBitmapContextCreate(baseAddress, width, height, 8, bytesPerRow, colorSpace,
|
CGBitmapContextCreate(baseAddress, width, height, 8, bytesPerRow, colorSpace,
|
||||||
kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirts);
|
kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirst);
|
||||||
|
|
||||||
CGImageRef capture = CGBitmapContextCreateImage(newContext);
|
CGImageRef capture = CGBitmapContextCreateImage(newContext);
|
||||||
CVPixelBufferUnlockBaseAddress(imageBuffer,0);
|
CVPixelBufferUnlockBaseAddress(imageBuffer,0);
|
||||||
|
|
Loading…
Reference in a new issue