diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-08-24 21:00:01 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-08-25 13:44:57 +0100 |
commit | add7b3bc3fb7685cd0a3ccffd2b09cc0e32c39ec (patch) | |
tree | 286730962b85046b0675fcfe0b53afc14c825b2b /libavcodec/avcodec.h | |
parent | 9e02f35f6a1b27090fa2679e9a3897ecdf144b2a (diff) | |
download | ffmpeg-add7b3bc3fb7685cd0a3ccffd2b09cc0e32c39ec.tar.gz |
utils: 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>
Diffstat (limited to 'libavcodec/avcodec.h')
0 files changed, 0 insertions, 0 deletions