diff options
author | Max Horn | 2011-06-20 00:59:48 +0200 |
---|---|---|
committer | Max Horn | 2011-06-20 00:59:48 +0200 |
commit | 88913c0139ac6d1dfb356d3048702b7bc8ef4079 (patch) | |
tree | a7436d20333c28f87f2ed0bc15c743b5eb8144ee /video | |
parent | 3853e76202b132e769ae149720eca931cd87104a (diff) | |
download | scummvm-rg350-88913c0139ac6d1dfb356d3048702b7bc8ef4079.tar.gz scummvm-rg350-88913c0139ac6d1dfb356d3048702b7bc8ef4079.tar.bz2 scummvm-rg350-88913c0139ac6d1dfb356d3048702b7bc8ef4079.zip |
ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
Diffstat (limited to 'video')
-rw-r--r-- | video/codecs/truemotion1.cpp | 2 | ||||
-rw-r--r-- | video/codecs/truemotion1.h | 4 | ||||
-rw-r--r-- | video/qt_decoder.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/video/codecs/truemotion1.cpp b/video/codecs/truemotion1.cpp index b8a3c0ab37..e475c8426c 100644 --- a/video/codecs/truemotion1.cpp +++ b/video/codecs/truemotion1.cpp @@ -112,7 +112,7 @@ TrueMotion1Decoder::~TrueMotion1Decoder() { void TrueMotion1Decoder::selectDeltaTables(int deltaTableIndex) { if (deltaTableIndex > 3) return; - + for (byte i = 0; i < 8; i++) { _ydt[i] = ydts[deltaTableIndex][i]; _cdt[i] = cdts[deltaTableIndex][i]; diff --git a/video/codecs/truemotion1.h b/video/codecs/truemotion1.h index 33fbedca93..628cfa4584 100644 --- a/video/codecs/truemotion1.h +++ b/video/codecs/truemotion1.h @@ -27,7 +27,7 @@ #ifndef VIDEO_CODECS_TRUEMOTION1_H #define VIDEO_CODECS_TRUEMOTION1_H - + #include "video/codecs/codec.h" namespace Video { @@ -51,7 +51,7 @@ private: uint16 _width, _height; int _flags; - + struct PredictorTableEntry { uint32 color; bool getNextIndex; diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp index 9575845cd3..f93f0d616e 100644 --- a/video/qt_decoder.cpp +++ b/video/qt_decoder.cpp @@ -134,7 +134,7 @@ uint32 QuickTimeDecoder::findKeyFrame(uint32 frame) const { for (int i = _tracks[_videoTrackIndex]->keyframeCount - 1; i >= 0; i--) if (_tracks[_videoTrackIndex]->keyframes[i] <= frame) return _tracks[_videoTrackIndex]->keyframes[i]; - + // If none found, we'll assume the requested frame is a key frame return frame; } |