From a6f6008e301e1faf36928bf05479445e23d3c444 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 16 Sep 2005 11:05:29 +0000 Subject: [PATCH] Wrong editlist handling: end pts must be included. Fixes another BBC sample (why is it always BBC samples that break MPlayer??): http://images.apple.com/movies/us/hd_gallery/gl1800/720p/bbc-africa_m720p.mov git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16497 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c index 91072648eb..d3c972ccb8 100644 --- a/libmpdemux/demux_mov.c +++ b/libmpdemux/demux_mov.c @@ -276,7 +276,7 @@ void mov_build_index(mov_track_t* trak,int timescale){ e_pts+=el->dur; // find end sample for(;samplesamples_size;sample++){ - if(pts<=trak->samples[sample].pts) break; + if(ptssamples[sample].pts) break; } el->frames=sample-el->start_sample; frame+=el->frames;