Move Image::as_png() out to image_as_png().
[dcpomatic.git] / src / wx / film_viewer.cc
index f7c50b98aa07cc62b75fcd9916b98c2570ff3980..34ff8dbc46fbfab9dd92d3c555da34d2abc1d1f5 100644 (file)
 #include "lib/util.h"
 #include "lib/video_content.h"
 #include "lib/video_decoder.h"
+#include <dcp/exceptions.h>
+#include <dcp/warnings.h>
 extern "C" {
 #include <libavutil/pixfmt.h>
 }
-#include <dcp/exceptions.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/tglbtn.h>
+LIBDCP_ENABLE_WARNINGS
 #include <iomanip>