diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-11 15:15:43 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-11 15:15:43 +0000 |
commit | 39710677648260370c32637779da79544cf3ea8b (patch) | |
tree | 8d60cb9cec611a18ec51c165d1254deb17dc0d13 /libswscale | |
parent | 0fa66fd7387549078a0b4d7c0c9c6ac216c8f1f8 (diff) |
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
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale-example.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |