aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/cel_decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/cel_decoder.cpp')
-rw-r--r--engines/pink/cel_decoder.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/pink/cel_decoder.cpp b/engines/pink/cel_decoder.cpp
index 4e66cf7038..3f3dc58ceb 100644
--- a/engines/pink/cel_decoder.cpp
+++ b/engines/pink/cel_decoder.cpp
@@ -117,6 +117,9 @@ void CelDecoder::CelVideoTrack::readPrefixChunk() {
}
}
+#undef PREFIX_TYPE
+#undef CEL_DATA
+
void CelDecoder::CelVideoTrack::readHeader() {
_fileStream->readUint16LE();
@@ -206,6 +209,8 @@ const Graphics::Surface *CelDecoder::CelVideoTrack::decodeNextFrame() {
return _surface;
}
+#undef FRAME_TYPE
+
bool CelDecoder::CelVideoTrack::rewind() {
// this method is overriden for 2 reasons:
// 1) bug in Flic rewind(curFrame)