Browse Source

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
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
b2c4e3547b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libswscale/cs_test.c

+ 2
- 1
libswscale/cs_test.c View File

@@ -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);


Loading…
Cancel
Save