Mercurial > mplayer.hg
changeset 1402:b62df5a81cba
mpeg seeking fixed
author | arpi |
---|---|
date | Sat, 28 Jul 2001 21:21:54 +0000 |
parents | c11f2a77ff70 |
children | fe133b029041 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sat Jul 28 21:18:21 2001 +0000 +++ b/mplayer.c Sat Jul 28 21:21:54 2001 +0000 @@ -1700,7 +1700,7 @@ if(!sh_video->i_bps) // unspecified? newpos=demuxer->filepos+2324*75*rel_seek_secs; // 174.3 kbyte/sec else - newpos=demuxer->filepos+(sh_video->i_bps*1000/16)*rel_seek_secs; + newpos=demuxer->filepos+(sh_video->i_bps)*rel_seek_secs; if(newpos<seek_to_byte) newpos=seek_to_byte; newpos&=~(STREAM_BUFFER_SIZE-1); /* sector boundary */