[Ffmpeg-devel] [PATCH] Remove exit() in vhooks

Diego Biurrun diego
Sun Apr 1 19:23:55 CEST 2007


On Sat, Mar 31, 2007 at 02:15:28AM +0200, V?ctor Paesa wrote:
> 
> > On Thu, Mar 29, 2007 at 09:50:53PM -0400, Rich Felker wrote:
> >> On Fri, Mar 30, 2007 at 12:17:09AM +0200, Michael Niedermayer wrote:
> >>
> >> For a forked child process, _exit() is the correct way to exit.
> >> Calling exit() in this case is very bad because it could corrupt any
> >> stdio files that were not flushed by the parent before forking.
> >
> > yes iam a retard ...
> >
> > anyway you may apply the patch, split in 2 of ideally exit()->_exit()
> > bugfix
> >  and exit() -> return *
> 
> OK, now splitted in two:

Thanks, applied.

Diego




More information about the ffmpeg-devel mailing list