From f101eab1be1a296a1a048cd905edfcacc3b546ed Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 5 Oct 2012 19:54:10 +0200 Subject: x86: call most of the x86 dsp init functions under if (ARCH_X86) Rename the called dsp init functions to *_init_x86. --- libavcodec/pngdsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pngdsp.c') diff --git a/libavcodec/pngdsp.c b/libavcodec/pngdsp.c index d40bf9c..00734d7 100644 --- a/libavcodec/pngdsp.c +++ b/libavcodec/pngdsp.c @@ -44,5 +44,5 @@ void ff_pngdsp_init(PNGDSPContext *dsp) dsp->add_bytes_l2 = add_bytes_l2_c; dsp->add_paeth_prediction = ff_add_png_paeth_prediction; - if (HAVE_MMX) ff_pngdsp_init_x86(dsp); + if (ARCH_X86) ff_pngdsp_init_x86(dsp); } -- cgit v1.1