Ignore FFmpeg warnings in a nicer way.
[dcpomatic.git] / src / lib / ffmpeg.h
index 10517055c26cf842619699a901bc561ff00a8fde..e6399c076655742f4438bb87676dad87f8e06781 100644 (file)
 
 #include "file_group.h"
 #include "ffmpeg_subtitle_period.h"
+#include "warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 extern "C" {
 #include <libavcodec/avcodec.h>
 }
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/shared_ptr.hpp>
 #include <boost/thread/mutex.hpp>