aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/svq1.h
diff options
context:
space:
mode:
authorD G Turner2012-04-05 05:08:08 +0100
committerD G Turner2012-04-08 03:29:24 +0100
commit97746e22815da0adc94bf0fbae7d564b0fb55bdd (patch)
tree5edd6dee29c1d289b6e0cab7d0669979c710fea7 /video/codecs/svq1.h
parentc9bbe5793cbd34138b722c3a7414c7d8c5f3d55f (diff)
downloadscummvm-rg350-97746e22815da0adc94bf0fbae7d564b0fb55bdd.tar.gz
scummvm-rg350-97746e22815da0adc94bf0fbae7d564b0fb55bdd.tar.bz2
scummvm-rg350-97746e22815da0adc94bf0fbae7d564b0fb55bdd.zip
VIDEO: Correct SVQ1 Header Decoding and Last Frame Buffering.
Header was incorrectly documnented in reference documents. Corrected with reference to FFMPEG. Also, added missing buffering of last frame for P frame decoding.
Diffstat (limited to 'video/codecs/svq1.h')
-rw-r--r--video/codecs/svq1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/codecs/svq1.h b/video/codecs/svq1.h
index 2271bf4d2b..ed34439329 100644
--- a/video/codecs/svq1.h
+++ b/video/codecs/svq1.h
@@ -43,8 +43,9 @@ public:
private:
Graphics::Surface *_surface;
+ uint16 _width;
+ uint16 _height;
- byte *_current[3];
byte *_last[3];
Common::Huffman *_blockType;