Fix compilation: #undef standard library functions that are

forbidden within FFmpeg, but allowed in example code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29354 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-06-11 15:15:43 +00:00
parent 0fa66fd738
commit 3971067764
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@
#include "swscale.h"
#include "swscale_internal.h"
#undef fprintf
#undef free
#undef malloc
#undef perror
#undef printf
static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){
int x,y;
uint64_t ssd=0;