aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/ppc
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2013-08-29 10:39:31 -0400
committerMartin Storsjö <martin@martin.st>2013-08-30 00:41:10 +0300
commitf1f728cbe4e8516205f0d760a4128c15a39c8baa (patch)
treed3a5343b49fbe94f3b3e3dc17e78db50ed43c7e5 /libswscale/ppc
parente998b56362c711701b3daa34e7b956e7126336f4 (diff)
downloadffmpeg-f1f728cbe4e8516205f0d760a4128c15a39c8baa.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/ppc')
-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 a8fa9c65f0..08545b3c5d 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) {