projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc8788
)
Hide some warnings from ffmpeg on Centos 7.
author
Carl Hetherington
<cth@carlh.net>
Fri, 7 May 2021 16:37:55 +0000
(18:37 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 7 May 2021 16:37:55 +0000
(18:37 +0200)
src/lib/image.cc
patch
|
blob
|
history
diff --git
a/src/lib/image.cc
b/src/lib/image.cc
index c4312cb8e6529ddd197100882e52f9cbc1fef730..f7f19a1be052ef5479a557847ea19474f895eb99 100644
(file)
--- 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>