Merge pull request #418 from dalexsoto/master

Fix for #416
This commit is contained in:
Olivier Poitrey 2013-06-12 07:32:02 -07:00
commit 9a1f072e5e
2 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,11 @@
#ifdef SD_WEBP
#import <UIKit/UIKit.h>
// Fix for issue #416 Undefined symbols for architecture armv7 since WebP introduction when deploying to device
void WebPInitPremultiplyNEON(void);
void WebPInitUpsamplersNEON(void);
void VP8DspInitNEON(void);
@interface UIImage (WebP)
+ (UIImage *)sd_imageWithWebPData:(NSData *)data;

View File

@ -61,4 +61,9 @@ static void FreeImageData(void *info, const void *data, size_t size)
}
@end
// Functions to resolve some undefined symbols when using WebP and force_load flag
void WebPInitPremultiplyNEON(void) {}
void WebPInitUpsamplersNEON(void) {}
void VP8DspInitNEON(void) {}
#endif