diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-10-04 13:51:12 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-04 13:51:12 +0000 |
commit | b2c4e3547b38f2f2b9ffe99e32f783f965dfcdb9 (patch) | |
tree | 838f6a382c7566babf65cee3325ffaafd0ec5b59 /libswscale/cs_test.c | |
parent | db671614cce86d6ba7eaacb774569b7dc7656ec7 (diff) | |
download | ffmpeg-b2c4e3547b38f2f2b9ffe99e32f783f965dfcdb9.tar.gz |
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
Diffstat (limited to 'libswscale/cs_test.c')
-rw-r--r-- | libswscale/cs_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/cs_test.c b/libswscale/cs_test.c index 5778a146ba..9ffe1ec469 100644 --- a/libswscale/cs_test.c +++ b/libswscale/cs_test.c @@ -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); |