[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: mpeglib
From:       Martin Vogt <mvogt () rhrk ! uni-kl ! de>
Date:       2001-06-05 7:46:29
[Download RAW message or body]

On Mon, Jun 04, 2001 at 11:09:54PM +0200, Nikolas Zimmermann wrote:
> Hi there,
> 
> can _anyone_ PLEEEEEASE
> remove all those exit(0)'s but not a simple
> remove, that would break too much
> but this should be done by Martin best
> 
> even if something isn't correct, warn about
> it on stderr and return; from the functionbut NO exit(0)
>
mpeglib has exits, yes. But they are not triggered.
They are more ore less like asserts(..) and are
used during debugging.
Maybe that the wav player exits on unsupported files,
but the mpeg player (video,audio) does not.
(Same for ogg)

If an exit is triggered, this means a mayor failure
occured and there is no way to recover.
But as said: this does not happen.

Conclusion: no need to remove the exits.
            (exception: wav module)

Martin

 
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic