1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Sean McGovern 2013-08-29 10:39:31 -04:00 committed by Michael Niedermayer
parent 09c94b57ca
commit 01a82f1dc5

View 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) {