Merge pull request #418 from dalexsoto/master
Fix for #416
Showing
2 changed files
with
10 additions
and
0 deletions
@@ -9,6 +9,11 @@ | @@ -9,6 +9,11 @@ | ||
9 | #ifdef SD_WEBP | 9 | #ifdef SD_WEBP |
10 | #import <UIKit/UIKit.h> | 10 | #import <UIKit/UIKit.h> |
11 | 11 | ||
12 | +// Fix for issue #416 Undefined symbols for architecture armv7 since WebP introduction when deploying to device | ||
13 | +void WebPInitPremultiplyNEON(void); | ||
14 | +void WebPInitUpsamplersNEON(void); | ||
15 | +void VP8DspInitNEON(void); | ||
16 | + | ||
12 | @interface UIImage (WebP) | 17 | @interface UIImage (WebP) |
13 | 18 | ||
14 | + (UIImage *)sd_imageWithWebPData:(NSData *)data; | 19 | + (UIImage *)sd_imageWithWebPData:(NSData *)data; |
@@ -61,4 +61,9 @@ static void FreeImageData(void *info, const void *data, size_t size) | @@ -61,4 +61,9 @@ static void FreeImageData(void *info, const void *data, size_t size) | ||
61 | } | 61 | } |
62 | 62 | ||
63 | @end | 63 | @end |
64 | + | ||
65 | +// Functions to resolve some undefined symbols when using WebP and force_load flag | ||
66 | +void WebPInitPremultiplyNEON(void) {} | ||
67 | +void WebPInitUpsamplersNEON(void) {} | ||
68 | +void VP8DspInitNEON(void) {} | ||
64 | #endif | 69 | #endif |
-
Please register or login to post a comment