mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-18 06:49:53 +02:00
dsp: add DSP_INIT_STUB
generates a stub function when the specific architecture is not enabled, exposing a symbol in the module, avoiding a compiler warning Change-Id: Ia9336e57466a9b5241b85c1c95838e91c9283147
This commit is contained in:
@ -204,6 +204,5 @@ WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersSSE2(void) {
|
||||
#endif // WEBP_USE_SSE2
|
||||
|
||||
#if !(defined(FANCY_UPSAMPLING) && defined(WEBP_USE_SSE2))
|
||||
extern void WebPInitUpsamplersSSE2(void);
|
||||
WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersSSE2(void) {}
|
||||
WEBP_DSP_INIT_STUB(WebPInitUpsamplersSSE2)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user