changeset 14630:734239808489

Compile fix on non-x86
author reimar
date Tue, 01 Feb 2005 09:00:12 +0000
parents 0269b0cfeada
children a288fcf5eec1
files postproc/swscale.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/swscale.c	Mon Jan 31 22:36:57 2005 +0000
+++ b/postproc/swscale.c	Tue Feb 01 09:00:12 2005 +0000
@@ -2568,6 +2568,7 @@
 	if(c->hChrFilterPos) free(c->hChrFilterPos);
 	c->hChrFilterPos = NULL;
 
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
 #ifdef HAVE_SYS_MMAN_H
 	if(c->funnyYCode) munmap(c->funnyYCode, MAX_FUNNY_CODE_SIZE);
 	if(c->funnyUVCode) munmap(c->funnyUVCode, MAX_FUNNY_CODE_SIZE);
@@ -2577,6 +2578,7 @@
 #endif
 	c->funnyYCode=NULL;
 	c->funnyUVCode=NULL;
+#endif
 
 	if(c->lumMmx2Filter) free(c->lumMmx2Filter);
 	c->lumMmx2Filter=NULL;