summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_wrapper.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-07 19:13:04 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-07 20:39:09 +0200
commitf3e52bd763513190de60e7f6b68c50b34ab80fee (patch)
treef55ecf3336d47e8f759d43c0918a38f4750164e1 /src/lib/ffmpeg_wrapper.cc
parent7544dc823a8d89083c8481e6dbcca095522c3097 (diff)
Hide some more FFmpeg warnings.v2.15.143
Diffstat (limited to 'src/lib/ffmpeg_wrapper.cc')
-rw-r--r--src/lib/ffmpeg_wrapper.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_wrapper.cc b/src/lib/ffmpeg_wrapper.cc
index aacaeaae3..dbd2dce9f 100644
--- a/src/lib/ffmpeg_wrapper.cc
+++ b/src/lib/ffmpeg_wrapper.cc
@@ -19,10 +19,13 @@
*/
+#include "ffmpeg_wrapper.h"
+#include "warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
extern "C" {
#include <libavformat/avformat.h>
}
-#include "ffmpeg_wrapper.h"
+DCPOMATIC_ENABLE_WARNINGS
#include <new>