[FFmpeg-cvslog] r10649 - trunk/libavcodec/sparc/dsputil_vis.c

Reimar Döffinger Reimar.Doeffinger
Tue Oct 2 23:28:28 CEST 2007


Hello,
On Tue, Oct 02, 2007 at 09:44:50PM +0100, M?ns Rullg?rd wrote:
> reimar <subversion at mplayerhq.hu> writes:
> > Author: reimar
> > Date: Tue Oct  2 21:51:18 2007
> > New Revision: 10649
> >
> > Log:
> > Hopefully fix sparc compilation again, add incorrectly removed variable declaration
> >
> > Modified:
> >    trunk/libavcodec/sparc/dsputil_vis.c
> >
> > Modified: trunk/libavcodec/sparc/dsputil_vis.c
> > ==============================================================================
> > --- trunk/libavcodec/sparc/dsputil_vis.c	(original)
> > +++ trunk/libavcodec/sparc/dsputil_vis.c	Tue Oct  2 21:51:18 2007
> > @@ -3990,6 +3990,7 @@ static void MC_avg_no_round_xy_8_vis (ui
> >
> >  static int vis_level ()
> >  {
> > +    int accel = 0;
> >      accel |= ACCEL_SPARC_VIS;
> >      accel |= ACCEL_SPARC_VIS2;
> >      return accel;
> 
> Why don't you just return ACCEL_SPARC_VIS | ACCEL_SPARC_VIS2?

I thought to make it easier to add support again. Yes, I agree a
somewhat laughable reason...
It probably is also questionable if we should keep that vis_level
function at all...




More information about the ffmpeg-cvslog mailing list