From 0f3bd8ce1bc313520631abd109b54e8d68b5129e Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 11 Mar 2007 22:19:02 +0000 Subject: [PATCH] fix a stupid bug in ebml_read_sint() Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroska.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 0235e18..c8148c6 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -607,7 +607,6 @@ ebml_read_sint (MatroskaDemuxContext *matroska, negative = 1; *num &= ~0x80; } - *num = 0; while (n++ < size) *num = (*num << 8) | get_byte(pb); -- 2.7.4