[vlc-commits] demux: mkv: initialize seekable states in constructor (CID 1427168)

Tristan Matthews git at videolan.org
Fri Jan 5 05:48:57 CET 2018


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Thu Jan  4 23:45:34 2018 -0500| [f6608cdab47c716f7f13ee15ec5950e65a165874] | committer: Tristan Matthews

demux: mkv: initialize seekable states in constructor (CID 1427168)

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

 modules/demux/mkv/demux.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/mkv/demux.hpp b/modules/demux/mkv/demux.hpp
index bdca8cb9e7..f139a58854 100644
--- a/modules/demux/mkv/demux.hpp
+++ b/modules/demux/mkv/demux.hpp
@@ -331,6 +331,8 @@ struct demux_sys_t
 public:
     demux_sys_t( demux_t & demux )
         :demuxer(demux)
+        ,b_seekable(false)
+        ,b_fastseekable(false)
         ,i_pts(VLC_TS_INVALID)
         ,i_pcr(VLC_TS_INVALID)
         ,i_start_pts(VLC_TS_0)



More information about the vlc-commits mailing list