[MPlayer-cvslog] r19818 - trunk/libmpdemux/demux_mkv.c

eugeni subversion at mplayerhq.hu
Wed Sep 13 04:02:18 CEST 2006


Author: eugeni
Date: Wed Sep 13 04:02:17 2006
New Revision: 19818

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
Fix r19815: mkv_d->duration could be assigned an uninitialized value.


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Wed Sep 13 04:02:17 2006
@@ -664,7 +664,7 @@
   uint64_t length, l;
   int il;
   uint64_t tc_scale = 1000000;
-  long double duration;
+  long double duration = 0.;
 
   length = ebml_read_length (s, NULL);
   while (length > 0)



More information about the MPlayer-cvslog mailing list