[Mplayer-cvslog] CVS: main/libvo vo_mpegpes.c,1.30,1.31

Richard Felker CVS rfelker at mplayerhq.hu
Sun Apr 28 04:24:07 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv19839/libvo

Modified Files:
	vo_mpegpes.c 
Log Message:
open w/O_CREAT requires a third argument, mode!


Index: vo_mpegpes.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_mpegpes.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- vo_mpegpes.c	28 Apr 2002 00:24:15 -0000	1.30
+++ vo_mpegpes.c	28 Apr 2002 02:24:05 -0000	1.31
@@ -130,7 +130,7 @@
 	}
 
 #else
-    vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT);
+    vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT,0666);
     if(vo_mpegpes_fd<0){	
 	perror("vo_mpegpes");
 	return -1;




More information about the MPlayer-cvslog mailing list