Mercurial > mplayer.hg
changeset 12871:eefdb099b9d3
mencoder psnr segfaults on readonly fs patch by (Fabio Russo <f.russo at sosinformatica dot com>)
author | michael |
---|---|
date | Tue, 20 Jul 2004 12:06:30 +0000 |
parents | 2c0ec9a1b857 |
children | 9d40b63f7c17 |
files | libmpcodecs/ve_lavc.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c Tue Jul 20 08:32:04 2004 +0000 +++ b/libmpcodecs/ve_lavc.c Tue Jul 20 12:06:30 2004 +0000 @@ -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);*/ } }