commit | 264117295ef1bf76a8606a9d0cc972109e0143e0 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Tue Sep 28 15:28:44 1993 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Tue Sep 28 15:28:44 1993 +0000 |
tree | 492ffdc81238c0dd20327788ab285eeb97a6453f | |
parent | bab2ca3eb100f02eb3d5b6e9e164b7b0ce936a1d [diff] |
Sanity check for compress files.
diff --git a/Demo/sgi/video/VFile.py b/Demo/sgi/video/VFile.py index 0c8aa52..bc7e68e 100755 --- a/Demo/sgi/video/VFile.py +++ b/Demo/sgi/video/VFile.py
@@ -296,7 +296,7 @@ self.setsize(values[1], values[2]) (self.c0bits, self.c1bits, self.c2bits, \ self.offset, self.chrompack) = values[4:9] - if self.format == 'compress': + if self.format == 'compress' and len(values) > 9: self.compressheader = values[9] self.setderived()