FFmpeg/libswscale
Martin Storsjö 38a511e84c swscale: Readd #define _SVID_SOURCE
This was removed erroneously in
046f081b46. This define still is
necessary for getting MAP_ANONYMOUS defined on linux/glibc,
despite the define reshuffling done in that commit.

Without MAP_ANONYMOUS defined, the mprotect calls for setting the
generated mmx2 scaler code pages executable are left out, causing
crashes if that codepath is chosen.

This patch fixes scaling from 192x144 to 320x240 with
-sws_flags fast_bilinear, which crashes on linux at the
moment.

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit f32dfad9dc)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2011-12-05 21:12:11 +01:00
..
bfin sws: replace all long with int. 2011-05-28 10:03:37 -04:00
mlib Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
ppc ppc: fix some pointer to integer casts 2011-09-26 19:31:32 +02:00
sparc Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
x86 swscale: don't use planar output functions to write to NV12/21. 2011-09-26 19:26:28 +02:00
colorspace-test.c sws: replace all long with int. 2011-05-28 10:03:37 -04:00
libswscale.v Add symbol versioning for shared libraries 2010-01-16 04:48:55 +00:00
Makefile swscale: split swscale.c in unscaled and generic conversion routines. 2011-06-03 09:52:09 -07:00
options.c swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*. 2011-05-24 10:03:26 -04:00
rgb2rgb.c sws: replace all long with int. 2011-05-28 10:03:37 -04:00
rgb2rgb.h sws: replace all long with int. 2011-05-28 10:03:37 -04:00
rgb2rgb_template.c swscale: Remove disabled code. 2011-05-29 14:32:08 +02:00
swscale-test.c swscale: Remove commented-out printf cruft. 2011-05-26 03:45:58 +02:00
swscale.c swscale: remove misplaced comment. 2011-06-14 16:55:24 -04:00
swscale.h doxygen: Remove spurious documentation for non-existing function parameters. 2011-07-03 19:58:33 +02:00
swscale_internal.h swscale: fix JPEG-range YUV scaling artifacts. 2011-06-14 09:46:49 -04:00
swscale_unscaled.c swscale: split swscale.c in unscaled and generic conversion routines. 2011-06-03 09:52:09 -07:00
utils.c swscale: Readd #define _SVID_SOURCE 2011-12-05 21:12:11 +01:00
yuv2rgb.c swscale: Remove disabled code. 2011-05-29 14:32:08 +02:00