diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-06-11 15:15:43 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-06-11 15:15:43 +0000 |
commit | dc8229015c18d391797529ab84a8d11446fd94d0 (patch) | |
tree | b69ea4c3fefa455ac9f362260ff399eca6dabd8f | |
parent | 02163b799de199160aba4a7877054c48b68ec33e (diff) | |
download | ffmpeg-dc8229015c18d391797529ab84a8d11446fd94d0.tar.gz |
Fix compilation: #undef standard library functions that are
forbidden within FFmpeg, but allowed in example code.
Originally committed as revision 29354 to svn://svn.mplayerhq.hu/mplayer/trunk/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; |