Browse Source

png: add missing #if HAVE_SSSE3 around function pointer assignment.

tags/n0.11
Ronald S. Bultje 14 years ago
parent
commit
20a7d3178f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/x86/pngdsp-init.c

+ 1
- 1
libavcodec/x86/pngdsp-init.c View File

@@ -130,6 +130,6 @@ void ff_pngdsp_init_x86(PNGDSPContext *dsp)
dsp->add_bytes_l2 = add_bytes_l2_mmx;
if (flags & AV_CPU_FLAG_MMX2)
dsp->add_paeth_prediction = add_png_paeth_prediction_mmx2;
if (flags & AV_CPU_FLAG_SSSE3)
if (HAVE_SSSE3 && flags & AV_CPU_FLAG_SSSE3)
dsp->add_paeth_prediction = add_png_paeth_prediction_ssse3;
}

Loading…
Cancel
Save