Index: source/libvpx/third_party/libyuv/source/mjpeg_decoder.cc |
diff --git a/source/libvpx/third_party/libyuv/source/mjpeg_decoder.cc b/source/libvpx/third_party/libyuv/source/mjpeg_decoder.cc |
index 36028c3cc2fb987824663b4c6c86e70a3b3a6f53..75f8a610e317ee878c7d30f80721cf436a4881a7 100644 |
--- a/source/libvpx/third_party/libyuv/source/mjpeg_decoder.cc |
+++ b/source/libvpx/third_party/libyuv/source/mjpeg_decoder.cc |
@@ -18,6 +18,12 @@ |
// Must be included before jpeglib. |
#include <setjmp.h> |
#define HAVE_SETJMP |
+ |
+#if defined(_MSC_VER) |
+// disable warning 4324: structure was padded due to __declspec(align()) |
+#pragma warning(disable:4324) |
+#endif |
+ |
#endif |
struct FILE; // For jpeglib.h. |