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
This commit is contained in:
reimar 2005-09-16 11:05:29 +00:00
parent cb30e1edd5
commit a6f6008e30
1 changed files with 1 additions and 1 deletions

View File

@ -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;