[MPlayer-dev-eng] Re: [PATCH] Development (Was: Clean up
Arpi
arpi at thot.banki.hu
Tue Feb 26 20:36:20 CET 2002
Hi,
> Am Die, 2002-02-26 um 18.19 schrieb pl:
>
> > To me, s isn't checked against NULL 8)
> > Anyway it will crash soon should your malloc start failing.
>
> BTW: This was just a random cutted-n-pasted text not one I choose
> for pointing out any bugs, most of the source looks like that.
And it's good this way.
It works, it's stable and it's fast.
It won't crash unless user runs out of memory, but then it doesn't matter,
while adding if(!p){ Printf("Out of memory bazze");exit(1);} at thousand
places would be nonsense overload. NULL ptr will cause sig11 immediatelly
and it will be handled by our sighandler. so, what's the prob?
yes, i see you don't like this way...but it is YOUR problem.
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list