[FFmpeg-cvslog] ppc: don't return a value from a function declared void
Sean McGovern
git at videolan.org
Fri Aug 30 11:57:36 CEST 2013
ffmpeg | branch: master | Sean McGovern <gseanmcg at gmail.com> | Thu Aug 29 10:39:31 2013 -0400| [01a82f1dc544df7a4affb3858d12b7b2e492cbba] | committer: Michael Niedermayer
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=01a82f1dc544df7a4affb3858d12b7b2e492cbba
---
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 3b89b5d..2b1c5dd 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