From b2c4e3547b38f2f2b9ffe99e32f783f965dfcdb9 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 4 Oct 2006 13:51:12 +0000 Subject: [PATCH] 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 --- libswscale/cs_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include #include +#include #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);