changeset 28464:2db0844df6f0

Add #undefs to reenable system functions that are normally forbidden in other parts of FFmpeg but OK in this test program. Fixes the build.
author diego
date Mon, 09 Feb 2009 18:01:36 +0000
parents 4f01aa9c448f
children 26c1df953188
files libswscale/swscale-example.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;