mirror of https://git.ffmpeg.org/ffmpeg.git
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.
This commit is contained in:
parent
a5ce608fc7
commit
891307b4d1
|
@ -202,7 +202,8 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
|
||||||
const uint8_t *dither, int offset)
|
const uint8_t *dither, int offset)
|
||||||
{
|
{
|
||||||
if(((int)dest) & 15){
|
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) {
|
if (offset) {
|
||||||
__asm__ volatile("movq (%0), %%xmm3\n\t"
|
__asm__ volatile("movq (%0), %%xmm3\n\t"
|
||||||
|
|
Loading…
Reference in New Issue