mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
fa6bc3aa4f
commit
13387709ef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue