MC chroma checkasm test could crash in some situations
Remove -lmx, as it's not needed and the iPhone doesn't have it.
Remove unused sqrtf emulation; it breaks if math.h is included.
#if (defined(SYS_OPENBSD) && !defined(isfinite)) || defined(SYS_SunOS)
#define isfinite finite
#endif
-#if defined(_MSC_VER) || defined(SYS_SunOS) || defined(SYS_MACOSX)
-#define sqrtf sqrt
-#endif
#ifdef _WIN32
#define rename(src,dst) (unlink(dst), rename(src,dst)) // POSIX says that rename() removes the destination, but win32 doesn't.
#ifndef strtok_r
darwin*)
SYS="MACOSX"
CFLAGS="$CFLAGS -falign-loops=16"
- LDFLAGS="$LDFLAGS -lm -lmx"
+ LDFLAGS="$LDFLAGS -lm"
if [ "$pic" = "no" ]; then
CFLAGS="$CFLAGS -mdynamic-no-pic"
fi
x264_mc_functions_t mc_a;
x264_pixel_function_t pixel;
- uint8_t *src = &buf1[2*32+2];
+ uint8_t *src = &buf1[2*64+2];
uint8_t *src2[4] = { &buf1[3*64+2], &buf1[5*64+2],
&buf1[7*64+2], &buf1[9*64+2] };
uint8_t *dst1 = buf3;