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

Steve Lhomme git at videolan.org
Mon Feb 26 10:12:05 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Feb 23 10:32:13 2018 +0100| [53dfa824676eaba2a8f6f2c9b107274b5ff305dd] | committer: Hugo Beauzée-Luyssen

demux:mkv: fix i_last_dts mtime_t init

(cherry-picked from commit 758c4124efa796c18f1e4494616bf9324763ad6d)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=53dfa824676eaba2a8f6f2c9b107274b5ff305dd
---

 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 72a0ba3dc5..d9c5f912b8 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -813,7 +813,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