[MPlayer-dev-eng] [PATCH]simple optimization

Oded Shimon ods15 at ods15.dyndns.org
Wed Oct 12 16:38:59 CEST 2005


On Wed, Oct 12, 2005 at 04:23:15PM +0200, Adam Tla??ka wrote:
> Dnia Wed, 12 Oct 2005 16:09:38 +0200, Oded Shimon <ods15 at ods15.dyndns.org>  
> napisa??:
> 
> >On Wed, Oct 12, 2005 at 03:53:53PM +0200, Adam Tla??ka wrote:
> >>Hi,
> >>
> >>Description:
> >>
> >>1.pach -> mplayer.c: simple if() else correction
> >>because only one condition could be met
> >
> >I suggest just a switch case...
> 
> It's working same way IMHO but maybe not with every compiler so OK.
> Changed to switch case.

Committed.

BTW, it's really not an optimization cause it's an init.. there's more or 
less 2mb of code running at init anyway, this hardly sped it up. :)

- ods15




More information about the MPlayer-dev-eng mailing list