[SCM] libav/experimental: Compile fix on non-x86

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:42:57 UTC 2013


The following commit has been merged in the experimental branch:
commit 790409c9490a2cf1642ca71380e78b0dcc600e61
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Tue Feb 1 09:00:12 2005 +0000

    Compile fix on non-x86
    
    Originally committed as revision 14631 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

diff --git a/postproc/swscale.c b/postproc/swscale.c
index 3a6766b..cefff83 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list