aboutsummaryrefslogtreecommitdiff
path: root/graphics/video
diff options
context:
space:
mode:
authorFilippos Karapetis2010-05-26 06:45:57 +0000
committerFilippos Karapetis2010-05-26 06:45:57 +0000
commitad9772fac6dcd3d462053bb80ebe54a012990a24 (patch)
tree32fa62dec5e2a70183e8f15f9c9746489545ad6d /graphics/video
parent2c6ea824ec6fcccc1bef48fac479ce0d47569520 (diff)
downloadscummvm-rg350-ad9772fac6dcd3d462053bb80ebe54a012990a24.tar.gz
scummvm-rg350-ad9772fac6dcd3d462053bb80ebe54a012990a24.tar.bz2
scummvm-rg350-ad9772fac6dcd3d462053bb80ebe54a012990a24.zip
Properly fixed MSVC warning C4121 (alignment of a member was sensitive to packing)
svn-id: r49226
Diffstat (limited to 'graphics/video')
-rw-r--r--graphics/video/qt_decoder.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/video/qt_decoder.h b/graphics/video/qt_decoder.h
index 6d72464258..659ad855e4 100644
--- a/graphics/video/qt_decoder.h
+++ b/graphics/video/qt_decoder.h
@@ -136,10 +136,14 @@ protected:
uint32 size;
};
+#include "common/pack-start.h" // START STRUCT PACKING
+
struct ParseTable {
uint32 type;
int (QuickTimeDecoder::*func)(MOVatom atom);
- };
+ } PACKED_STRUCT;
+
+#include "common/pack-end.h" // END STRUCT PACKING
struct MOVstts {
int count;