[Mplayer-cvslog] CVS: main mplayer.c,1.159,1.160

GEREOFFY arpi_esp at users.sourceforge.net
Wed Jun 13 23:57:38 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:
-frames 0 fixed

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.159
retrieving revision 1.160
diff -C2 -r1.159 -r1.160
*** mplayer.c	2001/06/13 21:55:24	1.159
--- mplayer.c	2001/06/13 21:57:36	1.160
***************
*** 1499,1502 ****
--- 1499,1507 ----
  while(!eof){
  
+     if(play_n_frames>=0){
+       --play_n_frames;
+       if(play_n_frames<0) exit_player("Requested number of frames played");
+     }
+ 
  /*========================== PLAY AUDIO ============================*/
  //if(!has_audio){
***************
*** 1836,1844 ****
  
      current_module=NULL;
-     
-     if(play_n_frames>=0){
-       --play_n_frames;
-       if(play_n_frames<0) exit_player("Requested number of frames played");
-     }
      
      if(eof) break;
--- 1841,1844 ----


_______________________________________________
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