[Mplayer-cvslog] CVS: main/libmpdemux demux_audio.c,1.15,1.16
Arpi of Ize
arpi at mplayerhq.hu
Thu Dec 5 00:51:47 CET 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv20887
Modified Files:
demux_audio.c
Log Message:
fixed mp3 seeking near end of file
patch by ??? (sorry i can't find that mail)
Index: demux_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_audio.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- demux_audio.c 6 Nov 2002 23:54:26 -0000 1.15
+++ demux_audio.c 4 Dec 2002 23:51:44 -0000 1.16
@@ -315,8 +315,9 @@
pos = base + (rel_seek_secs*sh_audio->i_bps);
if(demuxer->movi_end && pos >= demuxer->movi_end) {
- sh_audio->delay = (stream_tell(s) - demuxer->movi_start)/(float)sh_audio->i_bps;
- return;
+ pos = demuxer->movi_end;
+ //sh_audio->delay = (stream_tell(s) - demuxer->movi_start)/(float)sh_audio->i_bps;
+ //return;
} else if(pos < demuxer->movi_start)
pos = demuxer->movi_start;
More information about the MPlayer-cvslog
mailing list