[FFmpeg-cvslog] r29354 - trunk/libswscale/swscale-example.c
diego
subversion
Thu Jun 11 17:15:43 CEST 2009
Author: diego
Date: Thu Jun 11 17:15:43 2009
New Revision: 29354
Log:
Fix compilation: #undef standard library functions that are
forbidden within FFmpeg, but allowed in example code.
Modified:
trunk/libswscale/swscale-example.c
Modified: trunk/libswscale/swscale-example.c
==============================================================================
--- trunk/libswscale/swscale-example.c Thu Jun 11 12:19:04 2009 (r29353)
+++ trunk/libswscale/swscale-example.c Thu Jun 11 17:15:43 2009 (r29354)
@@ -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;
More information about the ffmpeg-cvslog
mailing list