Sanity check for compress files.

This commit is contained in:
Jack Jansen 1993-09-28 15:28:44 +00:00
parent bab2ca3eb1
commit 264117295e
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class VideoParams:
self.setsize(values[1], values[2]) self.setsize(values[1], values[2])
(self.c0bits, self.c1bits, self.c2bits, \ (self.c0bits, self.c1bits, self.c2bits, \
self.offset, self.chrompack) = values[4:9] self.offset, self.chrompack) = values[4:9]
if self.format == 'compress': if self.format == 'compress' and len(values) > 9:
self.compressheader = values[9] self.compressheader = values[9]
self.setderived() self.setderived()