Fix warnings:

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
This commit is contained in:
Diego Biurrun 2006-10-04 13:51:12 +00:00
parent db671614cc
commit b2c4e3547b
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <inttypes.h>
#include <malloc.h>
#include "swscale.h"
#include "rgb2rgb.h"
@ -58,7 +59,7 @@ static char *args_parse(int argc, char *argv[])
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);