# HG changeset patch # User diego # Date 1234202496 0 # Node ID 2db0844df6f03fde300bd0fe70bc4aed96890f4e # Parent 4f01aa9c448f625b705da189f5a002170f7e9e36 Add #undefs to reenable system functions that are normally forbidden in other parts of FFmpeg but OK in this test program. Fixes the build. diff -r 4f01aa9c448f -r 2db0844df6f0 libswscale/swscale-example.c --- a/libswscale/swscale-example.c Mon Feb 09 17:53:33 2009 +0000 +++ b/libswscale/swscale-example.c Mon Feb 09 18:01:36 2009 +0000 @@ -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;