Commit 726dba40 authored by diego's avatar diego

Add #undefs to reenable system functions that are normally forbidden in other

parts of FFmpeg but OK in this test program. Fixes the build.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@28499 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 740d2f55
...@@ -29,6 +29,13 @@ ...@@ -29,6 +29,13 @@
#include "swscale.h" #include "swscale.h"
#include "swscale_internal.h" #include "swscale_internal.h"
#undef fprintf
#undef free
#undef malloc
#undef perror
#undef printf
#undef random
static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){ static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){
int x,y; int x,y;
uint64_t ssd=0; uint64_t ssd=0;
......
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