[vlc-devel] [PATCH 3/9] mkv: remove doublon code

Steve Lhomme robux4 at videolabs.io
Tue Mar 15 15:45:56 CET 2016


this code is already handled after trying to read a block and after checking
for the current chapter to use
---
 modules/demux/mkv/mkv.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 4d7b6b4..7d6979c 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -721,12 +721,6 @@ static int Demux( demux_t *p_demux)
         if ( p_vsegment->UpdateCurrentToChapter( *p_demux ) )
             return 1;
 
-    if ( p_vsegment->CurrentEdition() &&
-         p_vsegment->CurrentEdition()->b_ordered &&
-         p_vsegment->CurrentChapter() == NULL )
-        /* nothing left to read in this ordered edition */
-        return 0;
-
     KaxBlock *block;
     KaxSimpleBlock *simpleblock;
     int64_t i_block_duration = 0;
-- 
2.7.2.windows.1



More information about the vlc-devel mailing list