aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pngdsp.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-05 19:54:10 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-10-08 11:54:05 +0200
commitf101eab1be1a296a1a048cd905edfcacc3b546ed (patch)
treeeb1de4a50acb63166fb01fc3fedd00946c322ce2 /libavcodec/pngdsp.c
parentd19d01bf628124e6c93dd8c15d79cc5329f56943 (diff)
downloadffmpeg-f101eab1be1a296a1a048cd905edfcacc3b546ed.tar.gz
x86: call most of the x86 dsp init functions under if (ARCH_X86)
Rename the called dsp init functions to *_init_x86.
Diffstat (limited to 'libavcodec/pngdsp.c')
-rw-r--r--libavcodec/pngdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdsp.c b/libavcodec/pngdsp.c
index d40bf9c47d..00734d7d10 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);
}