cs_test.c:62: warning: return type defaults to 'int'
cs_test.c:64: warning: implicit declaration of function 'memalign'
Originally committed as revision 20036 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
#include <unistd.h>
#include <stdlib.h>
#include <inttypes.h>
+#include <malloc.h>
#include "swscale.h"
#include "rgb2rgb.h"
return argv[optind];
}
-main(int argc, char **argv)
+int main(int argc, char **argv)
{
int i, funcNum;
uint8_t *srcBuffer= (uint8_t*)memalign(128, SIZE);