[Ffmpeg-cvslog] r7238 - in trunk/libavutil: common.h internal.h

Reimar Döffinger Reimar.Doeffinger
Thu Dec 7 11:58:44 CET 2006


Hello,
On Thu, Dec 07, 2006 at 10:42:34AM -0000, M?ns Rullg?rd wrote:
> Reimar D?ffinger said:
> > On Wed, Dec 06, 2006 at 10:27:08PM +0100, mru wrote:
> >> Author: mru
> >> Date: Wed Dec  6 22:27:08 2006
> >> New Revision: 7238
> >>
> >> Modified:
> >>    trunk/libavutil/common.h
> >>    trunk/libavutil/internal.h
> >>
> >> Log:
> >> move some __attribute__ macros to internal.h
> >
> > The problem I have with this is that it makes e.g. bswap.h completely
> > unusable for external programs unless they define always_inline
> > themselves.
> 
> bswap.h isn't installed, so external programs can't use it anyway.

Any program that includes its own copy of libavutil can. And given how
often keeping your own copy was mentioned as the recommended way of
using ffmpeg...
Anyway, without at least some kind of fallback, this means that
always_inline can never be used for any exported function. So at least
in the long term this solution does not seem more like a solution to me
than the old code was.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-cvslog mailing list