diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-07 18:37:55 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-07 18:37:55 +0200 |
| commit | dcf6fb9f4d00f823fe015aaa8a6486ef0c547e26 (patch) | |
| tree | 157c1b462a7b2bf1533f87c6f9a67777205e3a45 /src/lib/image.cc | |
| parent | 7bc87889807c9a6fbf800b9d7a50c563ce0253f4 (diff) | |
Hide some warnings from ffmpeg on Centos 7.
Diffstat (limited to 'src/lib/image.cc')
| -rw-r--r-- | src/lib/image.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc index c4312cb8e..f7f19a1be 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -33,12 +33,14 @@ #include "util.h" #include <dcp/rgb_xyz.h> #include <dcp/transfer_function.h> +DCPOMATIC_DISABLE_WARNINGS extern "C" { #include <libavutil/frame.h> #include <libavutil/pixdesc.h> #include <libavutil/pixfmt.h> #include <libswscale/swscale.h> } +DCPOMATIC_ENABLE_WARNINGS #include <png.h> #if HAVE_VALGRIND_MEMCHECK_H #include <valgrind/memcheck.h> |
