mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -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();
|
||||
CGContextRef newContext =
|
||||
CGBitmapContextCreate(baseAddress, width, height, 8, bytesPerRow, colorSpace,
|
||||
kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirts);
|
||||
kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirst);
|
||||
|
||||
CGImageRef capture = CGBitmapContextCreateImage(newContext);
|
||||
CVPixelBufferUnlockBaseAddress(imageBuffer,0);
|
||||
|
|
Loading…
Reference in a new issue