[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.97,1.98

Michael Niedermayer CVS syncmail at mplayerhq.hu
Tue Jul 20 14:06:33 CEST 2004


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv1765

Modified Files:
	ve_lavc.c 
Log Message:
mencoder psnr segfaults on readonly fs patch by (Fabio Russo <f.russo at sosinformatica dot com>)


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- ve_lavc.c	6 Jul 2004 12:29:32 -0000	1.97
+++ ve_lavc.c	20 Jul 2004 12:06:30 -0000	1.98
@@ -802,6 +802,8 @@
             if(!fvstats) {
                 perror("fopen");
                 lavc_param_psnr=0; // disable block
+                mp_msg(MSGT_MENCODER,MSGL_ERR,"Can't open %s for writing. Check your permissions.\n",filename);
+                return 0; 
                 /*exit(1);*/
             }
         }




More information about the MPlayer-cvslog mailing list