Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-11-09 22:45:33 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-10 02:33:12 +0300
commitd736b52a045c5a51d5dce0da3905619b51b878d9 (patch)
treea760e072f6c7024bb1674e8afc984d70609c9907 /libswscale/ppc
parent226d35c84591f1901c2a13819031549909faa1f5 (diff)
swscale: Drop is9_OR_10BPS() use, its name is not correct
Found-by: Luca Barbato Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/ppc')
-rw-r--r--libswscale/ppc/swscale_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c
index 35a08c4793..9438a63ff2 100644
--- a/libswscale/ppc/swscale_altivec.c
+++ b/libswscale/ppc/swscale_altivec.c
@@ -337,7 +337,7 @@ av_cold void ff_sws_init_swscale_ppc(SwsContext *c)
if (c->srcBpc == 8 && c->dstBpc <= 14) {
c->hyScale = c->hcScale = hScale_altivec_real;
}
- if (!is16BPS(dstFormat) && !is9_OR_10BPS(dstFormat) &&
+ if (!is16BPS(dstFormat) && !isNBPS(dstFormat) &&
dstFormat != AV_PIX_FMT_NV12 && dstFormat != AV_PIX_FMT_NV21 &&
!c->needAlpha) {
c->yuv2planeX = yuv2planeX_altivec;