Commit 5ba83675 authored by aurel's avatar aurel

fix a stupid bug in ebml_read_sint()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 020edce6
...@@ -607,7 +607,6 @@ ebml_read_sint (MatroskaDemuxContext *matroska, ...@@ -607,7 +607,6 @@ ebml_read_sint (MatroskaDemuxContext *matroska,
negative = 1; negative = 1;
*num &= ~0x80; *num &= ~0x80;
} }
*num = 0;
while (n++ < size) while (n++ < size)
*num = (*num << 8) | get_byte(pb); *num = (*num << 8) | get_byte(pb);
......
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