summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-example.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-09 18:01:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-09 18:01:36 +0000
commitcfb5bf7d3efae57bd4a9666ed225eb7db253a0b2 (patch)
treec00105e3113f7333a462e4d775d409009c30361c /libswscale/swscale-example.c
parent60ae9c589574c19a5cd59039f11845b6d62e74d3 (diff)
downloadmpv-cfb5bf7d3efae57bd4a9666ed225eb7db253a0b2.tar.bz2
mpv-cfb5bf7d3efae57bd4a9666ed225eb7db253a0b2.tar.xz
Add #undefs to reenable system functions that are normally forbidden in other
parts of FFmpeg but OK in this test program. Fixes the build. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28499 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale-example.c')
-rw-r--r--libswscale/swscale-example.c7
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;