[vlc-commits] demux:mkv: remove unused variable

Steve Lhomme git at videolan.org
Fri Jan 19 11:54:52 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jan 19 11:26:19 2018 +0100| [86163c45b19ed410d7477e02b3d1c4ee5fef8e1b] | committer: Steve Lhomme

demux:mkv: remove unused variable

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

 modules/demux/mkv/demux.cpp | 2 +-
 modules/demux/mkv/demux.hpp | 2 +-
 modules/demux/mkv/mkv.cpp   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index d6e95374a8..7cf139c68b 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -449,7 +449,7 @@ demux_sys_t::~demux_sys_t()
 }
 
 
-matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlStream *p_estream, bool b_initial )
+matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlStream *p_estream )
 {
     int i_upper_lvl = 0;
     EbmlElement *p_l0;
diff --git a/modules/demux/mkv/demux.hpp b/modules/demux/mkv/demux.hpp
index f139a58854..78f82619f8 100644
--- a/modules/demux/mkv/demux.hpp
+++ b/modules/demux/mkv/demux.hpp
@@ -390,7 +390,7 @@ public:
     bool PreloadLinked();
     void FreeUnused();
     bool PreparePlayback( virtual_segment_c & new_vsegment, mtime_t i_mk_date );
-    matroska_stream_c *AnalyseAllSegmentsFound( demux_t *p_demux, EbmlStream *p_estream, bool b_initial = false );
+    matroska_stream_c *AnalyseAllSegmentsFound( demux_t *p_demux, EbmlStream *p_estream );
     void JumpTo( virtual_segment_c & vsegment, virtual_chapter_c & vchapter );
 
     void InitUi();
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index f32fff1d05..f3f17a0fec 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -127,7 +127,7 @@ static int Open( vlc_object_t * p_this )
         return VLC_EGENERIC;
     }
 
-    p_stream = p_sys->AnalyseAllSegmentsFound( p_demux, p_io_stream, true );
+    p_stream = p_sys->AnalyseAllSegmentsFound( p_demux, p_io_stream );
     if( p_stream == NULL )
     {
         msg_Err( p_demux, "cannot find KaxSegment or missing mandatory KaxInfo" );



More information about the vlc-commits mailing list