1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libswscale
Derek Buitenhuis 5e3f6dc701 swscale: Do not expand a macro with 'defined' in it
Fixes:

    libswscale/utils.c:1632:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    #if USE_MMAP
        ^
    libswscale/utils.c:1577:49: note: expanded from macro 'USE_MMAP'
    #define USE_MMAP (HAVE_MMAP && HAVE_MPROTECT && defined MAP_ANONYMOUS)
                                                    ^
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-08-28 10:26:14 +02:00
..
ppc swscale: Add input support for 12-bit formats 2016-10-12 17:39:30 +02:00
tests swscale-test: const correctness 2017-04-24 16:10:05 +02:00
x86 x86util: Port all macros to cpuflags 2017-03-14 17:23:32 +01:00
input.c swscale: Add input support for gbrap10 pixel format 2017-04-13 16:11:24 +02:00
libswscale.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
Makefile build: Generate pkg-config files from Make and not from configure 2016-12-22 12:30:54 +01:00
options.c swscale: Rename sws_context_class to ff_sws_context_class 2016-07-16 17:38:37 +02:00
output.c swscale: Do not shift negative values directly 2017-04-15 15:37:18 +02:00
rgb2rgb_template.c lavu: add AV_CEIL_RSHIFT and use it in various places 2016-01-11 15:32:56 -05:00
rgb2rgb.c swscale: Add proper ff_ prefix to init functions 2016-07-16 17:38:37 +02:00
rgb2rgb.h swscale: Add proper ff_ prefix to init functions 2016-07-16 17:38:37 +02:00
swscale_internal.h ppc: Centralize compiler-specific altivec.h #include handling in one place 2016-12-14 14:08:43 +01:00
swscale_unscaled.c swscale: Convert the check check_image_pointers helper to a macro 2017-04-15 15:37:18 +02:00
swscale.c swscale: Rename is9_OR_10 to match what it does 2016-09-27 18:48:30 +02:00
swscale.h cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
utils.c swscale: Do not expand a macro with 'defined' in it 2017-08-28 10:26:14 +02:00
version.h Bump major versions of all libraries 2017-03-23 09:56:20 +01:00
yuv2rgb.c yuv2rgb: Document the color space coefficients 2016-01-20 11:18:31 -05:00