diff postproc/swscale.c @ 14630:734239808489

Compile fix on non-x86
author reimar
date Tue, 01 Feb 2005 09:00:12 +0000
parents e85e3894520f
children 16b3c8e291ff
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;