summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-26 02:27:12 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-26 21:30:53 +0200
commit35409488fd54aacefa6858dce4b02a576170e76e (patch)
tree253e208eb0fdfbb5d7d9fa56d8e51f3fcab1b858 /src/lib/ffmpeg.h
parentbc2dcbef02911c35a5ce3680c12641966d93bd49 (diff)
Ignore FFmpeg warnings in a nicer way.
Diffstat (limited to 'src/lib/ffmpeg.h')
-rw-r--r--src/lib/ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg.h b/src/lib/ffmpeg.h
index 10517055c..e6399c076 100644
--- a/src/lib/ffmpeg.h
+++ b/src/lib/ffmpeg.h
@@ -23,9 +23,12 @@
#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>