diff options
Diffstat (limited to 'video/codecs/codec.h')
-rw-r--r-- | video/codecs/codec.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/video/codecs/codec.h b/video/codecs/codec.h index 380f087d40..4a33d83138 100644 --- a/video/codecs/codec.h +++ b/video/codecs/codec.h @@ -29,25 +29,25 @@ #include "graphics/surface.h" #include "graphics/pixelformat.h" -namespace Common{ +namespace Common { class SeekableReadStream; } -namespace Graphics { +namespace Video { class Codec { public: Codec() {} virtual ~Codec() {} - virtual const Surface *decodeImage(Common::SeekableReadStream *stream) = 0; - virtual PixelFormat getPixelFormat() const = 0; + virtual const Graphics::Surface *decodeImage(Common::SeekableReadStream *stream) = 0; + virtual Graphics::PixelFormat getPixelFormat() const = 0; virtual bool containsPalette() const { return false; } virtual const byte *getPalette() { return 0; } virtual bool hasDirtyPalette() const { return false; } }; -} // End of namespace Graphics +} // End of namespace Video #endif |