diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-06-19 18:45:13 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-06-19 18:45:13 +0200 |
commit | 891307b4d194d4de628da302224c3a97b6f2c840 (patch) | |
tree | b5d3181e0744ae4f3f882c02760730e8e71cb5ce /libswscale/x86/swscale.c | |
parent | a5ce608fc7eaf3a8710624097dcdfb2b29735eb2 (diff) | |
download | ffmpeg-891307b4d194d4de628da302224c3a97b6f2c840.tar.gz |
s86/scale: Do not return the result of a (void) function from a void function.
Fixes compilation with Sun C 5.12.
Reported by Bradley Mitchell in ticket #3649.
Diffstat (limited to 'libswscale/x86/swscale.c')
-rw-r--r-- | libswscale/x86/swscale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index d85380065b..98cded2ec4 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -202,7 +202,8 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize, const uint8_t *dither, int offset) { if(((int)dest) & 15){ - return yuv2yuvX_mmxext(filter, filterSize, src, dest, dstW, dither, offset); + yuv2yuvX_mmxext(filter, filterSize, src, dest, dstW, dither, offset); + return; } if (offset) { __asm__ volatile("movq (%0), %%xmm3\n\t" |