# HG changeset patch # User aurel # Date 1173651542 0 # Node ID 924bfc59f12cc41f2ceaf97e5b45e2f606766c04 # Parent abbc781d608ab367b28252bd3b08fb49c48d57e7 fix a stupid bug in ebml_read_sint() diff -r abbc781d608a -r 924bfc59f12c matroska.c --- a/matroska.c Sun Mar 11 22:16:38 2007 +0000 +++ b/matroska.c Sun Mar 11 22:19:02 2007 +0000 @@ -607,7 +607,6 @@ negative = 1; *num &= ~0x80; } - *num = 0; while (n++ < size) *num = (*num << 8) | get_byte(pb);