[Mplayer-cvslog] CVS: main mplayer.c,1.97,1.98

GEREOFFY arpi_esp at users.sourceforge.net
Wed Apr 25 23:30:48 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv4288

Modified Files:
	mplayer.c 
Log Message:
'asf seeking before start' bug fixed

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -r1.97 -r1.98
*** mplayer.c	2001/04/24 22:51:05	1.97
--- mplayer.c	2001/04/25 21:30:46	1.98
***************
*** 1891,1895 ****
  //       rel_seek_secs,rel_seek_packs,rel_seek_bytes);
      newpos=demuxer->filepos+rel_seek_bytes;
!     if(newpos<0) newpos=0;
      stream_seek(demuxer->stream,newpos);
    }
--- 1891,1896 ----
  //       rel_seek_secs,rel_seek_packs,rel_seek_bytes);
      newpos=demuxer->filepos+rel_seek_bytes;
!     if(newpos<0 || newpos<demuxer->movi_start) newpos=demuxer->movi_start;
!     printf("\r -- asf: newpos=%d -- \n",newpos);
      stream_seek(demuxer->stream,newpos);
    }


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list