diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1993-09-28 15:28:44 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1993-09-28 15:28:44 (GMT) |
commit | 264117295ef1bf76a8606a9d0cc972109e0143e0 (patch) | |
tree | 492ffdc81238c0dd20327788ab285eeb97a6453f /Demo | |
parent | bab2ca3eb100f02eb3d5b6e9e164b7b0ce936a1d (diff) | |
download | cpython-264117295ef1bf76a8606a9d0cc972109e0143e0.zip cpython-264117295ef1bf76a8606a9d0cc972109e0143e0.tar.gz cpython-264117295ef1bf76a8606a9d0cc972109e0143e0.tar.bz2 |
Sanity check for compress files.
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/sgi/video/VFile.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class VideoParams: 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() |