From 10a0f218565a116f2b6064073f1d29e505e23b94 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Tue, 11 Jun 2013 18:58:44 -0500 Subject: [PATCH] Fix for issue #416 Undefined symbols for architecture armv7 since WebP introduction when deploying to device Added Functions to resolve some undefined symbols when using WebP and force_load flag void WebPInitPremultiplyNEON(void) {} void WebPInitUpsamplersNEON(void) {} void VP8DspInitNEON(void) {} Changes under MIT License --- SDWebImage/UIImage+WebP.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SDWebImage/UIImage+WebP.m b/SDWebImage/UIImage+WebP.m index 46471c84..59efecb2 100644 --- a/SDWebImage/UIImage+WebP.m +++ b/SDWebImage/UIImage+WebP.m @@ -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