[SCM] libav/experimental: fix a stupid bug in ebml_read_sint()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:57:35 UTC 2013


The following commit has been merged in the experimental branch:
commit 0f3bd8ce1bc313520631abd109b54e8d68b5129e
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Sun Mar 11 22:19:02 2007 +0000

    fix a stupid bug in ebml_read_sint()
    
    Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk

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);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list