1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
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
colorspace-test.c testprogs: Remove unused includes 2012-08-29 00:23:51 +03:00
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
Makefile Create version.h headers for libraries that lack them 2012-07-04 15:10:06 +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_template.c swscale: K&R formatting cosmetics (part I) 2012-02-21 22:53:40 +01:00
rgb2rgb.c swscale: Mark all init functions as av_cold 2012-07-23 01:30:05 +02:00
rgb2rgb.h rgb2rgb: rgb12to15() 2012-01-12 16:43:17 -08: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
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
utils.c swscale: try to use mmap only if available 2012-10-15 02:39:49 +01:00
version.h x86: build: replace mmx2 by mmxext 2012-08-03 22:51:05 +02:00
yuv2rgb.c Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00