From 264117295ef1bf76a8606a9d0cc972109e0143e0 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 28 Sep 1993 15:28:44 +0000 Subject: Sanity check for compress files. --- Demo/sgi/video/VFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12