diff options
author | Matthew Hoops | 2014-03-02 20:59:00 -0500 |
---|---|---|
committer | Matthew Hoops | 2014-03-02 20:59:00 -0500 |
commit | 5e715f244bc2d03d9532d09b87ba5baca8d988ac (patch) | |
tree | 69d0ccf9a55fd3a8197082cd60b0e5c6cfd61840 /video | |
parent | d771c4d3bbde84ca37579b1dc9e5b6f491bbd2d5 (diff) | |
download | scummvm-rg350-5e715f244bc2d03d9532d09b87ba5baca8d988ac.tar.gz scummvm-rg350-5e715f244bc2d03d9532d09b87ba5baca8d988ac.tar.bz2 scummvm-rg350-5e715f244bc2d03d9532d09b87ba5baca8d988ac.zip |
VIDEO: Handle the raw AVI video chunk the same as the others
Diffstat (limited to 'video')
-rw-r--r-- | video/avi_decoder.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp index 0697d89c04..9b196fefc9 100644 --- a/video/avi_decoder.cpp +++ b/video/avi_decoder.cpp @@ -71,7 +71,6 @@ namespace Video { // Stream Types enum { kStreamTypePaletteChange = MKTAG16('p', 'c'), - kStreamTypeRawVideo = MKTAG16('d', 'b'), kStreamTypeAudio = MKTAG16('w', 'b') }; @@ -399,10 +398,6 @@ void AVIDecoder::readNextPacket() { if (getStreamType(nextTag) == kStreamTypePaletteChange) { // Palette Change videoTrack->loadPaletteFromChunk(chunk); - } else if (getStreamType(nextTag) == kStreamTypeRawVideo) { - // TODO: Check if this really is uncompressed. Many videos - // falsely put compressed data in here. - error("Uncompressed AVI frame found"); } else { // Otherwise, assume it's a compressed frame videoTrack->decodeFrame(chunk); |