[vlc-commits] demux:mkv: fix i_last_dts mtime_t init

Steve Lhomme git at videolan.org
Fri Feb 23 10:51:24 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Feb 23 10:32:13 2018 +0100| [758c4124efa796c18f1e4494616bf9324763ad6d] | committer: Steve Lhomme

demux:mkv: fix i_last_dts mtime_t init

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=758c4124efa796c18f1e4494616bf9324763ad6d
---

 modules/demux/mkv/mkv.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 9549abe9ff..9f0926a43d 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -838,7 +838,7 @@ mkv_track_t::mkv_track_t(enum es_format_category_e es_cat) :
   ,b_no_duration(false)
   ,i_default_duration(0)
   ,f_timecodescale(1.0)
-  ,i_last_dts(0)
+  ,i_last_dts(VLC_TS_INVALID)
   ,i_skip_until_fpos(std::numeric_limits<uint64_t>::max())
   ,f_fps(0)
   ,p_es(NULL)



More information about the vlc-commits mailing list