1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

This commit is contained in:
Ronald S. Bultje 2012-01-29 12:31:59 -08:00
parent 331e7c4cb3
commit 20a7d3178f

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;
}