diff options
author | Matthew Hoops | 2010-05-26 03:43:21 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-05-26 03:43:21 +0000 |
commit | cd5e90f298098fa44299bcf054fffeada9da2996 (patch) | |
tree | c9dd803c1924aec157f87a0f1461728e03a77468 /graphics/video/qt_decoder.cpp | |
parent | b8df22646b6be2a3d0c10e1df2a6122f9a0d0e26 (diff) | |
download | scummvm-rg350-cd5e90f298098fa44299bcf054fffeada9da2996.tar.gz scummvm-rg350-cd5e90f298098fa44299bcf054fffeada9da2996.tar.bz2 scummvm-rg350-cd5e90f298098fa44299bcf054fffeada9da2996.zip |
Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' videos now play. However, they require multiple edit list support to look completely correct.
svn-id: r49224
Diffstat (limited to 'graphics/video/qt_decoder.cpp')
-rw-r--r-- | graphics/video/qt_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/qt_decoder.cpp b/graphics/video/qt_decoder.cpp index a2d088758d..1628e0f308 100644 --- a/graphics/video/qt_decoder.cpp +++ b/graphics/video/qt_decoder.cpp @@ -427,7 +427,7 @@ int QuickTimeDecoder::readDefault(MOVatom atom) { // Some QuickTime videos with resource forks have mdat chunks // that are of size 0. Adjust it so it's the correct size. - if (a.size == 0) + if (a.type == MKID_BE('mdat') && a.size == 0) a.size = _fd->size(); } |