ffmpeg/libswscale
Mans Rullgard 95cd815c36 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>
2012-10-15 02:39:49 +01:00
..
bfin Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
ppc Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
sparc Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
x86 Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
Makefile
colorspace-test.c
input.c Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
libswscale.v swscale: Do not make ff_ symbols globally visible. 2012-10-10 02:08:01 +02:00
options.c Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
output.c sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
swscale-test.c sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
swscale.c sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
swscale.h Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
swscale_internal.h sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
swscale_unscaled.c sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
utils.c swscale: try to use mmap only if available 2012-10-15 02:39:49 +01:00
version.h
yuv2rgb.c Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00