diff options
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; } |