From 89f40bc02a45ca88e189c5882b71dbeeaf5fec1c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 3 May 2011 13:25:01 +0200 Subject: VIDEO: Cleanup mixed array / type declaration --- video/codecs/truemotion1.cpp | 6 ++++-- 1 file 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 }, -- cgit v1.2.3