changeset 19812:30349b8fe806

Fix r19815: mkv_d->duration could be assigned an uninitialized value.
author eugeni
date Wed, 13 Sep 2006 02:02:17 +0000
parents ed853180b3b9
children 738ee921c764
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Tue Sep 12 21:45:06 2006 +0000
+++ b/libmpdemux/demux_mkv.c	Wed Sep 13 02:02:17 2006 +0000
@@ -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)