[FFmpeg-cvslog] r25074 - in trunk/libavcodec/ppc: check_altivec.c dsputil_altivec.h dsputil_ppc.c h264_altivec.c mpegvideo_altivec.c vp8dsp_altivec.c

Stefano Sabatini stefano.sabatini-lala
Wed Sep 8 16:45:00 CEST 2010


On date Wednesday 2010-09-08 15:41:21 +0100, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> 
> > On Wed, Sep 08, 2010 at 12:02:40PM +0200, stefano wrote:
> >> 
> >> Log:
> >> Merge has_altivec() function into mm_support(), remove it and use
> >> mm_support() instead.
> >> 
> >> --- trunk/libavcodec/ppc/check_altivec.c	Wed Sep  8 07:51:31 2010	(r25073)
> >> +++ trunk/libavcodec/ppc/check_altivec.c	Wed Sep  8 12:02:40 2010	(r25074)
> >> @@ -43,14 +43,16 @@
> >>  
> >> -int has_altivec(void)
> >> +int mm_support(void)
> >>  {
> >> +#if HAVE_ALTIVEC
> >
> > This is superfluous, the file is built conditional on HAVE_ALTIVEC.
> 
> Eventually we should be building this function unconditionally.

Also I try to not change the logic behind when doing such kind of
refactoring.

Regards.
-- 
FFmpeg = Fiendish Fanciful Mysterious Peaceful Experimenting Gangster



More information about the ffmpeg-cvslog mailing list