1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

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

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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28499 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-02-09 18:01:36 +00:00
parent 60ae9c5895
commit cfb5bf7d3e

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;