]> git.sesse.net Git - vlc/commitdiff
mkv.cpp: fix the end of stream handling (when there are pending Post commands)
authorSteve Lhomme <robux@videolan.org>
Fri, 13 May 2005 20:03:27 +0000 (20:03 +0000)
committerSteve Lhomme <robux@videolan.org>
Fri, 13 May 2005 20:03:27 +0000 (20:03 +0000)
modules/demux/mkv.cpp

index 308d3b4f1256ab6d09d0255a6f2f288dd02aab0b..0d14ea74544c327a342f220bbda252d423ba22a2 100644 (file)
@@ -2671,6 +2671,8 @@ bool virtual_segment_c::UpdateCurrentToChapter( demux_t & demux )
             {
                 if ( !(*p_editions)[i_current_edition]->EnterAndLeave( psz_current_chapter ) )
                     psz_current_chapter = NULL;
+                else
+                    return true;
             }
         }
     }