diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-13 16:00:16 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-15 02:39:49 +0100 |
commit | 95cd815c3663603871a1f2da95846e8f72d4ea96 (patch) | |
tree | cf165c6b29431b3ab242e78998c1a8b877d7764d /libavformat/crcenc.c | |
parent | e98b02de5f925a76bfa70ca16388b87da804baa3 (diff) | |
download | ffmpeg-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/crcenc.c')
0 files changed, 0 insertions, 0 deletions