Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 137498
Collapse All | Expand All

(-)GraphicsMagick-1.1.7.old/coders/png.c (-3 / +3 lines)
Lines 1709-1715 Link Here
1709
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
1709
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
1710
&& (PNG_LIBPNG_VER >= 10200)
1710
&& (PNG_LIBPNG_VER >= 10200)
1711
  /* Disable thread-unsafe features of pnggccrd */
1711
  /* Disable thread-unsafe features of pnggccrd */
1712
  if (png_access_version() >= 10200)
1712
  if (png_access_version_number() >= 10200)
1713
  {
1713
  {
1714
    png_uint_32 mmx_disable_mask=0;
1714
    png_uint_32 mmx_disable_mask=0;
1715
    png_uint_32 asm_flags;
1715
    png_uint_32 asm_flags;
Lines 1718-1725 Link Here
1718
                        | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
1718
                        | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
1719
                        | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
1719
                        | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
1720
                        | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
1720
                        | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
1721
    asm_flags=png_get_asm_flags(png_ptr);
1721
    asm_flags=png_get_asm_flags(ping);
1722
    png_set_asm_flags(png_ptr, asm_flags & ~mmx_disable_mask);
1722
    png_set_asm_flags(ping, asm_flags & ~mmx_disable_mask);
1723
  }
1723
  }
1724
#endif
1724
#endif
1725
1725

Return to bug 137498