Kaydet (Commit) ebea896e authored tarafından Sjoerd Mullender's avatar Sjoerd Mullender

Ignore empty markers.

üst 3a80c8de
......@@ -593,6 +593,10 @@ class Aifc_read:
id = _read_short(chunk)
pos = _read_long(chunk)
name = _read_string(chunk)
if pos or name:
# some files appear to have
# dummy markers consisting of
# a position 0 and name ''
self._markers.append((id, pos, name))
except EOFError:
print 'Warning: MARK chunk contains only',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment