diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-02-09 18:01:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-09 18:01:36 +0000 |
commit | 84205e0239471b15f85bb9ebcc86bda2ab274eeb (patch) | |
tree | 438fa2decbf8c0ae9c6a758e15bce2d15f52275e /libswscale | |
parent | 43175f501076cee26334b2516aae5ba6dc8c424b (diff) | |
download | ffmpeg-84205e0239471b15f85bb9ebcc86bda2ab274eeb.tar.gz |
Add #undefs to reenable system functions that are normally forbidden in other
parts of FFmpeg but OK in this test program. Fixes the build.
Originally committed as revision 28499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale-example.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 90c3ce39ab..958e2ec00f 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -29,6 +29,13 @@ #include "swscale.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){ int x,y; uint64_t ssd=0; |