aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-11 01:06:04 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-29 10:23:41 +0200
commitc2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19 (patch)
tree9ee2bc7b2c538a06cc613b0e5f18bc490179461f /libswscale/swscale.c
parent6af2c351b3ae61e4478950ffddd0dfcad06188b8 (diff)
downloadffmpeg-c2503d9c8ab42ea55922e9f5a10c8bfbbbfeaf19.tar.gz
swscale: ppc: Hide arch-specific initialization details
Also give consistent names to init functions.
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 8b2090e761..1a34a902f1 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -772,10 +772,10 @@ SwsFunc ff_getSwsFunc(SwsContext *c)
{
sws_init_swScale_c(c);
+ if (ARCH_PPC)
+ ff_sws_init_swscale_ppc(c);
if (ARCH_X86)
ff_sws_init_swscale_x86(c);
- if (HAVE_ALTIVEC)
- ff_sws_init_swScale_altivec(c);
return swScale;
}