Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a80c8d commit ebea896Copy full SHA for ebea896
1 file changed
Lib/aifc.py
@@ -593,7 +593,11 @@ def _readmark(self, chunk):
593
id = _read_short(chunk)
594
pos = _read_long(chunk)
595
name = _read_string(chunk)
596
- self._markers.append((id, pos, name))
+ if pos or name:
597
+ # some files appear to have
598
+ # dummy markers consisting of
599
+ # a position 0 and name ''
600
+ self._markers.append((id, pos, name))
601
except EOFError:
602
print 'Warning: MARK chunk contains only',
603
print len(self._markers),
0 commit comments