mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
Compile fix on non-x86
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14631 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a92d8e2d00
commit
0e85a7ebb2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user