aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparseskeleton.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-13 16:00:16 +0000
committerMans Rullgard <mans@mansr.com>2012-10-15 02:39:49 +0100
commit95cd815c3663603871a1f2da95846e8f72d4ea96 (patch)
treecf165c6b29431b3ab242e78998c1a8b877d7764d /libavformat/oggparseskeleton.c
parente98b02de5f925a76bfa70ca16388b87da804baa3 (diff)
downloadffmpeg-95cd815c3663603871a1f2da95846e8f72d4ea96.tar.gz
swscale: try to use mmap only if available
Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without providing (working) mmap and friends. The mmx filter generation code checks only for MAP_ANONYMOUS, not for availability of mmap itself which leads to build errors on aforementioned systems. This changes the conditional compilation to use mmap only if all the required functions are available. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/oggparseskeleton.c')
0 files changed, 0 insertions, 0 deletions