diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2005-02-01 09:00:12 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2005-02-01 09:00:12 +0000 |
commit | 790409c9490a2cf1642ca71380e78b0dcc600e61 (patch) | |
tree | 486c0a4a2a143b85d5871769b780f42a770f2861 /postproc | |
parent | 0c90161f0fb905a79bc7c876f57c83f1e776419d (diff) | |
download | ffmpeg-790409c9490a2cf1642ca71380e78b0dcc600e61.tar.gz |
Compile fix on non-x86
Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/swscale.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index 3a6766bea3..cefff839eb 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -2568,6 +2568,7 @@ void sws_freeContext(SwsContext *c){ 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 @@ void sws_freeContext(SwsContext *c){ #endif c->funnyYCode=NULL; c->funnyUVCode=NULL; +#endif if(c->lumMmx2Filter) free(c->lumMmx2Filter); c->lumMmx2Filter=NULL; |