[FFmpeg-cvslog] ppc: don't return a value from a function declared void

Sean McGovern git at videolan.org
Fri Aug 30 13:21:46 CEST 2013


ffmpeg | branch: master | Sean McGovern <gseanmcg at gmail.com> | Thu Aug 29 10:39:31 2013 -0400| [f1f728cbe4e8516205f0d760a4128c15a39c8baa] | committer: Martin Storsjö

ppc: don't return a value from a function declared void

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1f728cbe4e8516205f0d760a4128c15a39c8baa
---

 libswscale/ppc/yuv2yuv_altivec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/ppc/yuv2yuv_altivec.c b/libswscale/ppc/yuv2yuv_altivec.c
index a8fa9c6..08545b3 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) {



More information about the ffmpeg-cvslog mailing list