[MPlayer-dev-eng] [PATCH] mencoder psnr segfaults on readonly fs
attila
attila at pai.kinali.ch
Sun Jul 18 07:46:36 CEST 2004
On Thu, Mar 11, 2004 at 04:43:49PM +0100, Fabio Russo wrote:
> Hi,
> after trying to execute mencoder in a read only fs (or, better, when the
> user hasn't the write permissions) with the psnr option, it actually
> segfaults when trying to fprintf on psnr.log. Attached is a simple fix
> that will call mp_msg and let mencoder continue his job.
> The same problem should happen in ve_xvid.c, ve_xvid4.c and vd_ffmpeg.c
> (none of them tested), so maybe a more elegant solution should be
> adopted.
> Time for a question: should mencoder stop its execution if it can't
> write to the log file? If you are encoding only for testing and after
> some time you _don't_ have the log...
Michael, could you please comment this patch ?
Attila Kinali
More information about the MPlayer-dev-eng
mailing list