aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/truemotion1.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-03 13:25:01 +0200
committerMax Horn2011-05-03 13:25:01 +0200
commit89f40bc02a45ca88e189c5882b71dbeeaf5fec1c (patch)
treea433429ab5cc61e5560e18f7c9ed6448772c3ca0 /video/codecs/truemotion1.cpp
parent4dd4cf8bc0dcd4ac92f80bf4e1323d4d1caf1c78 (diff)
downloadscummvm-rg350-89f40bc02a45ca88e189c5882b71dbeeaf5fec1c.tar.gz
scummvm-rg350-89f40bc02a45ca88e189c5882b71dbeeaf5fec1c.tar.bz2
scummvm-rg350-89f40bc02a45ca88e189c5882b71dbeeaf5fec1c.zip
VIDEO: Cleanup mixed array / type declaration
Diffstat (limited to 'video/codecs/truemotion1.cpp')
-rw-r--r--video/codecs/truemotion1.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/video/codecs/truemotion1.cpp b/video/codecs/truemotion1.cpp
index 70c456d4a8..b7d1f406d7 100644
--- a/video/codecs/truemotion1.cpp
+++ b/video/codecs/truemotion1.cpp
@@ -60,12 +60,14 @@ enum {
};
// { valid for metatype }, algorithm, num of deltas, vert res, horiz res
-struct {
+struct CompressionType {
int algorithm;
int blockWidth; // vres
int blockHeight; // hres
int blockType;
-} static const compressionTypes[17] = {
+};
+
+static const CompressionType compressionTypes[17] = {
{ ALGO_NOP, 0, 0, 0 },
{ ALGO_RGB16V, 4, 4, BLOCK_4x4 },