Ignore libxml++ warnings in a nicer way.
[dcpomatic.git] / src / lib / ffmpeg_image_proxy.cc
index db6059266dc472e13b8908a67f5baf0b2a800618..b54e29d4492c4e3ee1933777f72e5b9e1f932a48 100644 (file)
 #include "image.h"
 #include "compose.hpp"
 #include "util.h"
+#include "warnings.h"
 #include <dcp/raw_convert.h>
 extern "C" {
 #include <libavcodec/avcodec.h>
 #include <libavformat/avformat.h>
 }
+DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <iostream>
 
 #include "i18n.h"