Hide some warnings from ffmpeg on Centos 7.
authorCarl Hetherington <cth@carlh.net>
Fri, 7 May 2021 16:37:55 +0000 (18:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 May 2021 16:37:55 +0000 (18:37 +0200)
src/lib/image.cc

index c4312cb8e6529ddd197100882e52f9cbc1fef730..f7f19a1be052ef5479a557847ea19474f895eb99 100644 (file)
 #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>