From 13387709efbc6a69d391cb0dee6e8668bd6f5c2e Mon Sep 17 00:00:00 2001 From: eugeni Date: Wed, 13 Sep 2006 02:02:17 +0000 Subject: Fix r19815: mkv_d->duration could be assigned an uninitialized value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19818 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mkv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c index 7b402152f0..1fbfd5b9da 100644 --- a/libmpdemux/demux_mkv.c +++ b/libmpdemux/demux_mkv.c @@ -664,7 +664,7 @@ demux_mkv_read_info (demuxer_t *demuxer) 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) -- cgit v1.2.3