| Index: src/codec/SkPngCodec.cpp
|
| diff --git a/src/codec/SkPngCodec.cpp b/src/codec/SkPngCodec.cpp
|
| index 54a82c4b278c97421daee021303d25776d3bf6cc..974befc86d699be64f81a1bf65f7bf599f7aefa3 100644
|
| --- a/src/codec/SkPngCodec.cpp
|
| +++ b/src/codec/SkPngCodec.cpp
|
| @@ -19,7 +19,7 @@
|
| #include "SkTemplates.h"
|
|
|
| // png_struct::read_filter[] was added in libpng 1.5.7.
|
| -#if defined(__SSE2__) && PNG_LIBPNG_VER >= 10507
|
| +#if defined(__SSE2__) && PNG_LIBPNG_VER >= 10507 && !defined(PNG_SKIP_SKIA_OPTS)
|
| #include "pngstruct.h"
|
|
|
| extern "C" void sk_png_init_filter_functions_sse2(png_structp png, unsigned int bpp) {
|
|
|