Authored by Olivier Poitrey

Merge pull request #418 from dalexsoto/master

Fix for #416
... ... @@ -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;
... ...
... ... @@ -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
... ...