From 2b5b1e1e9b89063d352e2efed014f9d761b85032 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 27 Sep 2016 18:13:37 +0200 Subject: swscale: Rename is9_OR_10 to match what it does It is used to select functions that work with 9-15bits. --- libswscale/ppc/swscale_altivec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/ppc') diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c index 004b385af2..9e3ddf359d 100644 --- a/libswscale/ppc/swscale_altivec.c +++ b/libswscale/ppc/swscale_altivec.c @@ -298,7 +298,7 @@ av_cold void ff_sws_init_swscale_ppc(SwsContext *c) if (c->srcBpc == 8 && c->dstBpc <= 10) { c->hyScale = c->hcScale = hScale_altivec_real; } - if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) && + if (!is16BPS(dstFormat) && !is9_15BPS(dstFormat) && dstFormat != AV_PIX_FMT_NV12 && dstFormat != AV_PIX_FMT_NV21 && !c->alpPixBuf) { c->yuv2planeX = yuv2planeX_altivec; -- cgit v1.2.3