# HG changeset patch # User eugeni # Date 1158112937 0 # Node ID 30349b8fe806667da599037892177ff9c7a8abfd # Parent ed853180b3b9ccf62468f24fc4a3d9cce5cf4ab6 Fix r19815: mkv_d->duration could be assigned an uninitialized value. diff -r ed853180b3b9 -r 30349b8fe806 libmpdemux/demux_mkv.c --- 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)