From ac311f16f598ba608038cdc7ac59ddf8e31f4ae6 Mon Sep 17 00:00:00 2001 From: mosu Date: Fri, 23 Jan 2004 15:16:50 +0000 Subject: [PATCH] Fix for compilation with libmatroska 0.6.3. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11836 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mkv.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libmpdemux/demux_mkv.cpp b/libmpdemux/demux_mkv.cpp index 65512463c1..47f3b4cbfc 100644 --- a/libmpdemux/demux_mkv.cpp +++ b/libmpdemux/demux_mkv.cpp @@ -1243,7 +1243,6 @@ static void parse_cues(mkv_demuxer_t *mkv_d, uint64_t pos) { 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 @@ static void parse_cues(mkv_demuxer_t *mkv_d, uint64_t pos) { 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); }