Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--postproc/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c
index 291bc940ef..71e6ff515f 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -2639,7 +2639,7 @@ void sws_freeContext(SwsContext *c){
c->hChrFilterPos = NULL;
#if defined(ARCH_X86) || defined(ARCH_X86_64)
-#ifdef HAVE_SYS_MMAN_H
+#ifdef MAP_ANONYMOUS
if(c->funnyYCode) munmap(c->funnyYCode, MAX_FUNNY_CODE_SIZE);
if(c->funnyUVCode) munmap(c->funnyUVCode, MAX_FUNNY_CODE_SIZE);
#else