Mercurial > mplayer.hg
changeset 16496:cca6a74cf898
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
author | reimar |
---|---|
date | Fri, 16 Sep 2005 11:05:29 +0000 |
parents | d2a47e40462f |
children | 182794778785 |
files | libmpdemux/demux_mov.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c Thu Sep 15 22:39:38 2005 +0000 +++ b/libmpdemux/demux_mov.c Fri Sep 16 11:05:29 2005 +0000 @@ -276,7 +276,7 @@ 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;