diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-02-22 18:48:10 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-02-22 18:50:59 -0600 |
commit | b4f9f5d041b887c82175355ea106fea6adb7c4f2 (patch) | |
tree | af9eecec68a8b0e68868b3cad48c66c2457e76f8 /contrib/intel/intel_init.c | |
parent | 6c3d5bd2a0fadf948cc282b95406aa0641257686 (diff) |
[libpng16] Fixed cut-and-paste errors in the new intel_sse.patch
and added PNG_NO_INTEL_SSE_3BPP macro.
Diffstat (limited to 'contrib/intel/intel_init.c')
-rw-r--r-- | contrib/intel/intel_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/intel/intel_init.c b/contrib/intel/intel_init.c index 357e147b9..d0918d1bb 100644 --- a/contrib/intel/intel_init.c +++ b/contrib/intel/intel_init.c @@ -32,10 +32,12 @@ png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) png_debug(1, "in png_init_filter_functions_sse2"); if (bpp == 3) { +#ifndef PNG_NO_INTEL_SSE_3BPP pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub3_sse2; pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg3_sse2; pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = png_read_filter_row_paeth3_sse2; +#endif } else if (bpp == 4) { |