aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-13 02:02:17 +0000
committerGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-13 02:02:17 +0000
commit13387709efbc6a69d391cb0dee6e8668bd6f5c2e (patch)
tree36a0fdbdf2db7f50cd36a4bcc62c7ed2ea8f8372 /libmpdemux
parentfa6bc3aa4fcb76d74dff93f7882af4bc534d59d2 (diff)
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mkv.c2
1 files changed, 1 insertions, 1 deletions
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)