summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-22 22:46:08 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-22 22:46:08 +0200
commit9b9af8a80860210c6a29446f7a24795eeda9e7bc (patch)
tree986d0be5a2d78455bd8bb709ac9c17fb0d9e6f22 /src
parentcca70e0824e6883f50838578897792476953ea24 (diff)
Fix build on Centos 7 (which gives a suggested parantheses warning)
Diffstat (limited to 'src')
-rw-r--r--src/ffmpeg_image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ffmpeg_image.h b/src/ffmpeg_image.h
index 0850b701..44eb0db7 100644
--- a/src/ffmpeg_image.h
+++ b/src/ffmpeg_image.h
@@ -37,9 +37,12 @@
#include "types.h"
+#include "warnings.h"
+LIBDCP_DISABLE_WARNINGS
extern "C" {
#include <libavutil/frame.h>
}
+LIBDCP_ENABLE_WARNINGS
#include <algorithm>
#include <vector>