Commit 790409c9 authored by Reimar Döffinger's avatar Reimar Döffinger

Compile fix on non-x86

Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent 0c90161f
...@@ -2568,6 +2568,7 @@ void sws_freeContext(SwsContext *c){ ...@@ -2568,6 +2568,7 @@ void sws_freeContext(SwsContext *c){
if(c->hChrFilterPos) free(c->hChrFilterPos); if(c->hChrFilterPos) free(c->hChrFilterPos);
c->hChrFilterPos = NULL; c->hChrFilterPos = NULL;
#if defined(ARCH_X86) || defined(ARCH_X86_64)
#ifdef HAVE_SYS_MMAN_H #ifdef HAVE_SYS_MMAN_H
if(c->funnyYCode) munmap(c->funnyYCode, MAX_FUNNY_CODE_SIZE); if(c->funnyYCode) munmap(c->funnyYCode, MAX_FUNNY_CODE_SIZE);
if(c->funnyUVCode) munmap(c->funnyUVCode, MAX_FUNNY_CODE_SIZE); if(c->funnyUVCode) munmap(c->funnyUVCode, MAX_FUNNY_CODE_SIZE);
...@@ -2577,6 +2578,7 @@ void sws_freeContext(SwsContext *c){ ...@@ -2577,6 +2578,7 @@ void sws_freeContext(SwsContext *c){
#endif #endif
c->funnyYCode=NULL; c->funnyYCode=NULL;
c->funnyUVCode=NULL; c->funnyUVCode=NULL;
#endif
if(c->lumMmx2Filter) free(c->lumMmx2Filter); if(c->lumMmx2Filter) free(c->lumMmx2Filter);
c->lumMmx2Filter=NULL; c->lumMmx2Filter=NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment