mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-24 04:05:46 +08:00
mencoder psnr segfaults on readonly fs patch by (Fabio Russo <f.russo at sosinformatica dot com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12872 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -802,6 +802,8 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||
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);*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user