Use libdcp's warnings.h
[dcpomatic.git] / src / lib / ffmpeg.h
index 59b2dedd5bd5d05998b67e1485f33ec33d2c2a3c..25d26e8136ad5a5d5b7cb28ee4012e1a87a8e228 100644 (file)
 
 #include "file_group.h"
 #include "ffmpeg_subtitle_period.h"
-#include "warnings.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 extern "C" {
 #include <libavcodec/avcodec.h>
 }
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <boost/thread/mutex.hpp>