Browse Source

Add #undefs to reenable system functions that are normally forbidden in other

parts of FFmpeg but OK in this test program. Fixes the build.

Originally committed as revision 28499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
84205e0239
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      libswscale/swscale-example.c

+ 7
- 0
libswscale/swscale-example.c View File

@@ -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;


Loading…
Cancel
Save