[vlc-commits] demux:mkv: use the parser we store in the payload

Steve Lhomme git at videolan.org
Thu Jan 25 13:55:37 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jan 25 13:24:00 2018 +0100| [5158cdfe3abb256dea96062169e921b9ff4c03d1] | committer: Steve Lhomme

demux:mkv: use the parser we store in the payload

rather than the one from another object

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

 modules/demux/mkv/matroska_segment.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 533e3891d1..dc2f15f075 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -1188,14 +1188,14 @@ int matroska_segment_c::BlockGet( KaxBlock * & pp_block, KaxSimpleBlock * & pp_s
         }
         E_CASE( KaxClusterSilentTracks, ksilent )
         {
-            vars.obj->ep->Down ();
+            vars.ep->Down ();
 
             VLC_UNUSED( ksilent );
         }
         E_CASE( KaxBlockGroup, kbgroup )
         {
             vars.obj->i_block_pos = kbgroup.GetElementPosition();
-            vars.obj->ep->Down ();
+            vars.ep->Down ();
         }
         E_CASE( KaxSimpleBlock, ksblock )
         {
@@ -1236,7 +1236,7 @@ int matroska_segment_c::BlockGet( KaxBlock * & pp_block, KaxSimpleBlock * & pp_s
                     SegmentSeeker::Seekpoint( kblock.GetElementPosition(), kblock.GlobalTimecode() / 1000 ) );
             }
 
-            vars.obj->ep->Keep ();
+            vars.ep->Keep ();
         }
         E_CASE( KaxBlockDuration, kduration )
         {



More information about the vlc-commits mailing list