Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 136452 | Differences between
and this patch

Collapse All | Expand All

(-)coders/png.c (-3 / +3 lines)
Lines 1753-1759 Link Here
1753
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
1753
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
1754
&& (PNG_LIBPNG_VER >= 10200)
1754
&& (PNG_LIBPNG_VER >= 10200)
1755
  /* Disable thread-unsafe features of pnggccrd */
1755
  /* Disable thread-unsafe features of pnggccrd */
1756
  if (png_access_version() >= 10200)
1756
  if (png_access_version_number() >= 10200)
1757
  {
1757
  {
1758
    png_uint_32 mmx_disable_mask=0;
1758
    png_uint_32 mmx_disable_mask=0;
1759
    png_uint_32 asm_flags;
1759
    png_uint_32 asm_flags;
Lines 1762-1769 Link Here
1762
                        | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
1762
                        | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
1763
                        | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
1763
                        | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
1764
                        | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
1764
                        | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
1765
    asm_flags=png_get_asm_flags(png_ptr);
1765
    asm_flags=png_get_asm_flags(ping);
1766
    png_set_asm_flags(png_ptr, asm_flags & ~mmx_disable_mask);
1766
    png_set_asm_flags(ping, asm_flags & ~mmx_disable_mask);
1767
  }
1767
  }
1768
#endif
1768
#endif
1769
1769

Return to bug 136452