ppc: don't return a value from a function declared void
authorSean McGovern <gseanmcg@gmail.com>
Thu, 29 Aug 2013 14:39:31 +0000 (10:39 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Aug 2013 09:56:11 +0000 (11:56 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libswscale/ppc/yuv2yuv_altivec.c

index 3b89b5d..2b1c5dd 100644 (file)
@@ -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) {