fix a stupid bug in ebml_read_sint()
authorAurelien Jacobs <aurel@gnuage.org>
Sun, 11 Mar 2007 22:19:02 +0000 (22:19 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sun, 11 Mar 2007 22:19:02 +0000 (22:19 +0000)
Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroska.c

index 0235e18..c8148c6 100644 (file)
@@ -607,7 +607,6 @@ ebml_read_sint (MatroskaDemuxContext *matroska,
         negative = 1;
         *num &= ~0x80;
     }
-    *num = 0;
     while (n++ < size)
         *num = (*num << 8) | get_byte(pb);