Signed-off-by: Lauri Kasanen <[email protected]>
---
libswscale/ppc/swscale_vsx.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libswscale/ppc/swscale_vsx.c b/libswscale/ppc/swscale_vsx.c
index a82cf95..17c15a2 100644
--- a/libswscale/ppc/swscale_vsx.c
+++ b/libswscale/ppc/swscale_vsx.c
@@ -1927,13 +1927,13 @@ av_cold void ff_sws_init_swscale_vsx(SwsContext *c)
#if !HAVE_BIGENDIAN
if (c->srcBpc == 8) {
if (c->dstBpc <= 14) {
- c->hyScale = c->hcScale = hScale_real_vsx;
- if (c->flags & SWS_FAST_BILINEAR && c->dstW >= c->srcW && c->chrDstW
>= c->chrSrcW) {
- c->hyscale_fast = hyscale_fast_vsx;
- c->hcscale_fast = hcscale_fast_vsx;
- }
+ c->hyScale = c->hcScale = hScale_real_vsx;
+ if (c->flags & SWS_FAST_BILINEAR && c->dstW >= c->srcW &&
c->chrDstW >= c->chrSrcW) {
+ c->hyscale_fast = hyscale_fast_vsx;
+ c->hcscale_fast = hcscale_fast_vsx;
+ }
} else {
- c->hyScale = c->hcScale = hScale8To19_vsx;
+ c->hyScale = c->hcScale = hScale8To19_vsx;
}
}
if (!is16BPS(dstFormat) && !isNBPS(dstFormat) &&
--
2.6.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".