[FFmpeg-cvslog] r9307 - in trunk/libavcodec: dsputil.c mpegvideo.c

Aurelien Jacobs aurel
Fri Jun 15 13:22:09 CEST 2007


On Fri, 15 Jun 2007 12:56:10 +0200
Reimar Doeffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Hello,
> On Fri, Jun 15, 2007 at 10:17:09AM +0200, Diego Biurrun wrote:
> > On Fri, Jun 15, 2007 at 10:06:55AM +0200, Reimar Doeffinger wrote:
> > > On Thu, Jun 14, 2007 at 10:44:41AM +0200, diego wrote:
> > > > 
> > > > Log:
> > > > Simplify init preprocessor statements.
> > > > patch by Albert Lee, trisk+xine acm.jhu edu
> > > 
> > > As discussed this has a sideeffect and IMO also removes a feature (using
> > > accelerated functions from different "areas"), so I'd request this to be
> > > reverted unless there is a really, really good reason to do it like
> > > this (and even then the log message is not okay).
> > 
> > AFAICT all of these options except for mlib are mutually exclusive,
> > right?  So the right solution IMO is to take just mlib out of the #if
> > #elif construction.
> 
> I do not know, and what is the advantage that would justify trying to
> find out? Just to get rid of 12 #endifs? If it bothers you as much,
> IMO just switch to the "if (ENABLED_*)" construct used elsewhere, then
> you can even put it all in one line.

Indeed this would looks much cleaner.
First attached patch is needed to have ENABLE_* defined for MMX, etc...
Then second patch cleanup this #ifdef mess.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: have_enable.diff
Type: text/x-diff
Size: 579 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070615/0d861405/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_have_enable.diff
Type: text/x-diff
Size: 1500 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070615/0d861405/attachment-0001.diff>



More information about the ffmpeg-cvslog mailing list