aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2013-08-29 10:39:31 -0400
committerMichael Niedermayer <michaelni@gmx.at>2013-08-30 11:56:11 +0200
commit01a82f1dc544df7a4affb3858d12b7b2e492cbba (patch)
treeb609ac335ed6d470e87d5a93d6a67ab87334411b /libswscale
parent09c94b57ca2c567ed6520c28f20a6a25c2950cb4 (diff)
downloadffmpeg-01a82f1dc544df7a4affb3858d12b7b2e492cbba.tar.gz
ppc: don't return a value from a function declared void
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/ppc/yuv2yuv_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/ppc/yuv2yuv_altivec.c b/libswscale/ppc/yuv2yuv_altivec.c
index 3b89b5d668..2b1c5dd3b8 100644
--- a/libswscale/ppc/yuv2yuv_altivec.c
+++ b/libswscale/ppc/yuv2yuv_altivec.c
@@ -188,7 +188,7 @@ av_cold void ff_get_unscaled_swscale_ppc(SwsContext *c)
{
#if HAVE_ALTIVEC
if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC))
- return NULL;
+ return;
if (!(c->srcW & 15) && !(c->flags & SWS_BITEXACT) &&
c->srcFormat == AV_PIX_FMT_YUV420P) {