Add support for running on big-endian systems

Now qtmultimedia test suite passes on powerpc.

Change-Id: I540dff93195115ad1dc5725af7293e3b8540403f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Dmitry Shachnev
2014-03-17 08:44:24 +04:00
committed by The Qt Project
parent 3d51c9565d
commit b0c68a1a07
3 changed files with 16 additions and 8 deletions

View File

@@ -103,7 +103,7 @@ private:
char id[4];
quint32 size;
};
bool peekChunk(chunk* pChunk);
bool peekChunk(chunk* pChunk, bool handleEndianness = true);
struct RIFFHeader
{