From 39710677648260370c32637779da79544cf3ea8b Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 11 Jun 2009 15:15:43 +0000 Subject: [PATCH] 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 --- libswscale/swscale-example.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 7db1ce4148..c9916e5489 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -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; -- 2.11.4.GIT