summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_stream.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-26 02:26:17 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-26 21:30:53 +0200
commit2bec3708fc744c18128c5bdb4c2a332f5c8eb283 (patch)
treee46632701e9b4201fbfd799070b37aade0ccf457 /src/lib/ffmpeg_stream.cc
parentce624e59b9dee93195d2582f7264ab398ed0d99b (diff)
Ignore libxml++ warnings in a nicer way.
Diffstat (limited to 'src/lib/ffmpeg_stream.cc')
-rw-r--r--src/lib/ffmpeg_stream.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_stream.cc b/src/lib/ffmpeg_stream.cc
index 86108ce4d..60327ab0d 100644
--- a/src/lib/ffmpeg_stream.cc
+++ b/src/lib/ffmpeg_stream.cc
@@ -20,8 +20,11 @@
#include "ffmpeg_stream.h"
#include "dcpomatic_assert.h"
+#include "warnings.h"
#include <dcp/raw_convert.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
+DCPOMATIC_ENABLE_WARNINGS
extern "C" {
#include <libavformat/avformat.h>
}