diff options
author | Guido van Rossum <guido@python.org> | 1999-05-03 18:02:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-05-03 18:02:44 (GMT) |
commit | 5c071fab8fac370b1e5bf8dccb2d99d0fad7f2df (patch) | |
tree | 87dac347ee0eaeaa1528bfc36810efbdda689567 /Lib/aifc.py | |
parent | f8fd11d039758b5d0c91316204be268eb511757b (diff) | |
download | cpython-5c071fab8fac370b1e5bf8dccb2d99d0fad7f2df.zip cpython-5c071fab8fac370b1e5bf8dccb2d99d0fad7f2df.tar.gz cpython-5c071fab8fac370b1e5bf8dccb2d99d0fad7f2df.tar.bz2 |
The _comp_data() function never worked, it contained a reference to
undefined 'nframes'. Should be self._nframes. (Andrew Dalke & kjpylint)
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r-- | Lib/aifc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index cd414c0..c317c5f 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -811,7 +811,7 @@ class Aifc_write: import cl dum = self._comp.SetParam(cl.FRAME_BUFFER_SIZE, len(data)) dum = self._comp.SetParam(cl.COMPRESSED_BUFFER_SIZE, len(data)) - return self._comp.Compress(nframes, data) + return self._comp.Compress(self._nframes, data) def _lin2ulaw(self, data): import audioop |