[MPlayer-cvslog] Re: CVS: main/postproc swscale_template.c, 1.116, 1.117

Ismail Donmez ismail at kde.org.tr
Tue Jun 28 21:23:54 CEST 2005


On Tuesday 28 June 2005 22:07, Guillaume POIRIER wrote:
> > +#define inline inline __attribute__((always_inline))
> > +
> >  #undef REAL_MOVNTQ
> >  #undef MOVNTQ
> >  #undef PAVGB
>
> This fixed the crash on my machine with gcc-3.3. Is it a desirable fix?

Looks like libavcodec uses it, from libavcodec/common.h

#ifndef always_inline
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
#    define always_inline __attribute__((always_inline)) inline
#else
#    define always_inline inline
#endif
#endif

ismail

-- 
Animals use pee to mark their territories. Humans use others' girl friends




More information about the MPlayer-cvslog mailing list