changeset 11835:7d5b1df3b952

Fix for compilation with libmatroska 0.6.3.
author mosu
date Fri, 23 Jan 2004 15:16:50 +0000
parents 6a25f1b5cc70
children 33351e4ce3de
files libmpdemux/demux_mkv.cpp
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.cpp	Fri Jan 23 01:13:00 2004 +0000
+++ b/libmpdemux/demux_mkv.cpp	Fri Jan 23 15:16:50 2004 +0000
@@ -1243,7 +1243,6 @@
   KaxCueClusterPosition *ccpos;
   KaxCueTrack *ctrack;
   KaxCueTrackPositions *ctrackpos;
-  KaxCueReference *cref;
   int upper_lvl_el, i, k;
   uint64_t tc_scale, filepos = 0, timecode = 0;
   uint32_t tnum = 0;
@@ -1317,9 +1316,7 @@
       mp_msg(MSGT_DEMUX, MSGL_DBG2, "[mkv] |   + found cue cluster "
              "position: %llu\n", filepos);
 
-      cref = FINDFIRST(ctrackpos, KaxCueReference);
-      add_index_entry(mkv_d, tnum, filepos, timecode,
-                      cref == NULL ? 1 : 0);
+      add_index_entry(mkv_d, tnum, filepos, timecode, 1);
      
       ctrackpos = FINDNEXT(cpoint, KaxCueTrackPositions, ctrackpos);
     }