1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Compile fix on non-x86

Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
Reimar Döffinger 2005-02-01 09:00:12 +00:00
parent 0c90161f0f
commit 790409c949

View File

@ -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;