[MPlayer-dev-eng] [FFmpeg-devel] [PATCH] remove useless math.h include in libavutil/mathematics.h
Diego Biurrun
diego at biurrun.de
Wed Aug 27 00:43:10 CEST 2008
On Tue, Aug 26, 2008 at 09:36:44PM +0200, Reimar Döffinger wrote:
> On Tue, Aug 26, 2008 at 08:00:12PM +0200, Reimar Döffinger wrote:
> > On Mon, Aug 25, 2008 at 09:15:29PM +0200, Guillaume POIRIER wrote:
> > > --- liba52/parse.c (revision 27478)
> > > +++ liba52/parse.c (working copy)
> > > @@ -32,12 +32,12 @@
> > >
> > > +#include "libavutil/avutil.h"
> > > #include "a52.h"
> > > #include "a52_internal.h"
> > > #include "bitstream.h"
> > > #include "tables.h"
> > > #include "mm_accel.h"
> > > -#include "libavutil/avutil.h"
> > >
> > > did the trick as well.
> > > Reimar, what do you think about that change?
> >
> > Bad idea, if there is code duplicated with libavutil it should at least
> > be kept in sync.
> > IMO the always_inline define should be completely removed and replaced
> > with a libavutil/common.h include if possible.
>
> To be honest, I do not even know if it is really worth keeping the
> always_inline, just using "inline" might be good enough.
Done. Let's keep the diff to upstream as small as possible now that
liba52 is essentially being deprecated...
Diego
More information about the MPlayer-dev-eng
mailing list