[Mplayer-cvslog] CVS: main/libvo vo_jpeg.c,1.22,1.23

Sascha Sommer CVS syncmail at mplayerhq.hu
Wed Sep 15 17:17:09 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv31386/libvo

Modified Files:
	vo_jpeg.c 
Log Message:
mingw compile fix

Index: vo_jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_jpeg.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- vo_jpeg.c	12 Sep 2004 01:35:41 -0000	1.22
+++ vo_jpeg.c	15 Sep 2004 15:17:06 -0000	1.23
@@ -97,7 +97,11 @@
 void jpeg_mkdir(char *buf, int verbose) { 
     struct stat stat_p;
 
+#ifndef __MINGW32__	
     if ( mkdir(buf, 0755) < 0 ) {
+#else
+    if ( mkdir(buf) < 0 ) {
+#endif
         switch (errno) { /* use switch in case other errors need to be caught
                             and handled in the future */
             case EEXIST:




More information about the MPlayer-cvslog mailing list