[Mplayer-cvslog] CVS: main mencoder.c,1.29,1.30
Arpi of Ize
arpi at mplayer.dev.hu
Tue Dec 4 21:35:33 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv10429
Modified Files:
mencoder.c
Log Message:
use return 1; if interrupted - patch by Artur Skawina <skawina at geocities.com>
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- mencoder.c 1 Dec 2001 12:24:46 -0000 1.29
+++ mencoder.c 4 Dec 2001 20:35:31 -0000 1.30
@@ -234,9 +234,11 @@
//---------------------------------------------------------------------------
static int eof=0;
+static int interrupted=0;
static void exit_sighandler(int x){
eof=1;
+ interrupted=1;
}
int main(int argc,char* argv[], char *envp[]){
@@ -850,4 +852,5 @@
if(stream) free_stream(stream); // kill cache thread
+return interrupted;
}
More information about the MPlayer-cvslog
mailing list