[MPlayer-dev-eng] Re: [PATCH] error checking for lavc stats_file writing

Eric Lammerts eric at lammerts.org
Sun Sep 1 12:32:04 CEST 2002


On Sun, 1 Sep 2002, Michael Niedermayer wrote:
> On Saturday 31 August 2002 13:40, Eric Lammerts wrote:
> > Hi,
> > this patch adds error checking to lavc's stats_file writing.
> yes, and then it calls exit(); imho this is worse then not checking at all

If you don't check, you end up with a corrupted stats file with no
indication that something bad happened (i.e., exit status == 0). How
is this better?

BTW, if there's an error writing the .avi, mencoder also calls
exit().

Eric




More information about the MPlayer-dev-eng mailing list