Commit 9b2d444d authored by diego's avatar diego

Fix warnings:

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


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@20036 b3059339-0415-0410-9bf9-f77b7e298cf2
parent a872e9f9
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <inttypes.h> #include <inttypes.h>
#include <malloc.h>
#include "swscale.h" #include "swscale.h"
#include "rgb2rgb.h" #include "rgb2rgb.h"
...@@ -58,7 +59,7 @@ static char *args_parse(int argc, char *argv[]) ...@@ -58,7 +59,7 @@ static char *args_parse(int argc, char *argv[])
return argv[optind]; return argv[optind];
} }
main(int argc, char **argv) int main(int argc, char **argv)
{ {
int i, funcNum; int i, funcNum;
uint8_t *srcBuffer= (uint8_t*)memalign(128, SIZE); uint8_t *srcBuffer= (uint8_t*)memalign(128, SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment