[SCM] libav/experimental: Fix warnings: cs_test.c:62: warning: return type defaults to 'int' cs_test.c:64: warning: implicit declaration of function 'memalign'

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:51:47 UTC 2013


The following commit has been merged in the experimental branch:
commit b2c4e3547b38f2f2b9ffe99e32f783f965dfcdb9
Author: Diego Biurrun <diego at biurrun.de>
Date:   Wed Oct 4 13:51:12 2006 +0000

    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

diff --git a/libswscale/cs_test.c b/libswscale/cs_test.c
index 5778a14..9ffe1ec 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list