Fix compilation: #undef standard library functions that are

forbidden within FFmpeg, but allowed in example code.

Originally committed as revision 29354 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
release/0.6
Diego Biurrun 16 years ago
parent 02163b799d
commit dc8229015c
  1. 6
      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;

Loading…
Cancel
Save