aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-16 11:05:29 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-09-16 11:05:29 +0000
commita6f6008e301e1faf36928bf05479445e23d3c444 (patch)
treeec32443d5b89b5a512f0828383978602b53ce039
parentcb30e1edd556a608cb351179a4c7537a54bd07c0 (diff)
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
-rw-r--r--libmpdemux/demux_mov.c2
1 files changed, 1 insertions, 1 deletions
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(;sample<trak->samples_size;sample++){
- if(pts<=trak->samples[sample].pts) break;
+ if(pts<trak->samples[sample].pts) break;
}
el->frames=sample-el->start_sample;
frame+=el->frames;