100l, forgot to change an ifdef on last commit
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 23 Feb 2005 14:07:18 +0000 (14:07 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 23 Feb 2005 14:07:18 +0000 (14:07 +0000)
Originally committed as revision 14784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/swscale.c

index 291bc94..71e6ff5 100644 (file)
@@ -2639,7 +2639,7 @@ void sws_freeContext(SwsContext *c){
        c->hChrFilterPos = NULL;
 
 #if defined(ARCH_X86) || defined(ARCH_X86_64)
        c->hChrFilterPos = NULL;
 
 #if defined(ARCH_X86) || defined(ARCH_X86_64)
-#ifdef HAVE_SYS_MMAN_H
+#ifdef MAP_ANONYMOUS
        if(c->funnyYCode) munmap(c->funnyYCode, MAX_FUNNY_CODE_SIZE);
        if(c->funnyUVCode) munmap(c->funnyUVCode, MAX_FUNNY_CODE_SIZE);
 #else
        if(c->funnyYCode) munmap(c->funnyYCode, MAX_FUNNY_CODE_SIZE);
        if(c->funnyUVCode) munmap(c->funnyUVCode, MAX_FUNNY_CODE_SIZE);
 #else