#16 Syntax error in mkv parser (mkvinfo.py, compute_len)

open
nobody
AV Module (4)
5
2006-05-02
2006-05-02
Alexander Melkov
No

Due to a bug in compute_len, mminfo failed to show
information on some .mkv file.

$Id: mkvinfo.py,v 1.3 2004/04/18 17:55:26 dischi Exp $
/usr/local/lib/python2.3/site-
packages/mmpython/video/mkvinfo.py line 159

Suggest replacing
(len) = unpack('!I',inbuf[:4])
with
len = unpack('!I',inbuf[:4])[0]

Discussion