aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/codecs
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-25 01:39:44 +0000
committerJohannes Schickel2010-01-25 01:39:44 +0000
commitaed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 (patch)
tree95f119e687a666f65aad5041910c43bdfd4f2929 /graphics/video/codecs
parentec14cd6e6add76ce4f719edd7ce508d67ebd9f14 (diff)
downloadscummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.gz
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.bz2
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.zip
Strip trailing spaces/tabs.
svn-id: r47541
Diffstat (limited to 'graphics/video/codecs')
-rw-r--r--graphics/video/codecs/codec.h2
-rw-r--r--graphics/video/codecs/msvideo1.cpp6
-rw-r--r--graphics/video/codecs/msvideo1.h12
3 files changed, 10 insertions, 10 deletions
diff --git a/graphics/video/codecs/codec.h b/graphics/video/codecs/codec.h
index 2b8fd796dd..124d1bc49d 100644
--- a/graphics/video/codecs/codec.h
+++ b/graphics/video/codecs/codec.h
@@ -30,7 +30,7 @@
#include "graphics/surface.h"
namespace Graphics {
-
+
class Codec {
public:
Codec() {}
diff --git a/graphics/video/codecs/msvideo1.cpp b/graphics/video/codecs/msvideo1.cpp
index 3717487c4f..16596926fd 100644
--- a/graphics/video/codecs/msvideo1.cpp
+++ b/graphics/video/codecs/msvideo1.cpp
@@ -22,9 +22,9 @@
* $Id$
*
*/
-
+
// Based off ffmpeg's msvideo.cpp
-
+
#include "graphics/video/codecs/msvideo1.h"
namespace Graphics {
@@ -34,7 +34,7 @@ namespace Graphics {
warning ("MS Video-1: Stream out of bounds (%d >= %d)", stream->pos() + n, stream->size()); \
return; \
}
-
+
MSVideo1Decoder::MSVideo1Decoder(uint16 width, uint16 height, byte bitsPerPixel) : Codec() {
_surface = new Graphics::Surface();
_surface->create(width, height, (bitsPerPixel == 8) ? 1 : 2);
diff --git a/graphics/video/codecs/msvideo1.h b/graphics/video/codecs/msvideo1.h
index 7950ceb1f1..ff6ffc6549 100644
--- a/graphics/video/codecs/msvideo1.h
+++ b/graphics/video/codecs/msvideo1.h
@@ -22,14 +22,14 @@
* $Id$
*
*/
-
+
#ifndef GRAPHICS_MSVIDEO1_H
#define GRAPHICS_MSVIDEO1_H
-
+
#include "graphics/video/codecs/codec.h"
-
+
namespace Graphics {
-
+
class MSVideo1Decoder : public Codec {
public:
MSVideo1Decoder(uint16 width, uint16 height, byte bitsPerPixel);
@@ -39,9 +39,9 @@ public:
private:
byte _bitsPerPixel;
-
+
Surface *_surface;
-
+
void decode8(Common::SeekableReadStream *stream);
//void decode16(Common::SeekableReadStream *stream);
};