summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/swscale-example.c')
-rw-r--r--libswscale/swscale-example.c6
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;