[MPlayer-cvslog] r20036 - trunk/libswscale/cs_test.c

diego subversion at mplayerhq.hu
Wed Oct 4 15:51:12 CEST 2006


Author: diego
Date: Wed Oct  4 15:51:12 2006
New Revision: 20036

Modified:
   trunk/libswscale/cs_test.c

Log:
Fix warnings:
cs_test.c:62: warning: return type defaults to 'int'
cs_test.c:64: warning: implicit declaration of function 'memalign'


Modified: trunk/libswscale/cs_test.c
==============================================================================
--- trunk/libswscale/cs_test.c	(original)
+++ trunk/libswscale/cs_test.c	Wed Oct  4 15:51:12 2006
@@ -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 @@
     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);



More information about the MPlayer-cvslog mailing list