[Ffmpeg-devel] About swscale

Diego Biurrun diego
Wed Jun 21 14:06:55 CEST 2006


On Wed, Jun 21, 2006 at 01:42:00PM +0200, Michael Niedermayer wrote:
> 
> On Wed, Jun 14, 2006 at 01:15:40PM +0200, Luca Abeni wrote:
> 
> > --- main.orig/configure	2006-05-19 07:41:28.000000000 +0200
> > +++ main/configure	2006-05-19 11:09:59.000000000 +0200
> > @@ -7343,6 +7343,30 @@
> >  fi
> >  echores "$_lircc"
> >  
> > +echocheck "Software Scaler"
> > +_swscaler=no
> > +cat > $TMPC <<EOF
> > +#include <stdint.h>
> > +#include "libswscale/swscale.h"
> > +int main(void) { return 0; }
> > +EOF
> > +cc_check -I . && _swscaler=yes
> > +echores "$_swscaler"
> > +if test "$_swscaler" = no ; then
> > +die "Software Scaler not found. Please copy libswscale from FFMpeg"
> > +fi
> > +echocheck "New software scaler"
> > +_new_swscaler=no
> > +cat > $TMPC <<EOF
> > +#include <stdint.h>
> > +#include "libswscale/swscale.h"
> > +#ifndef LIBSWSCALE_BUILD
> > +#error Old Software Scaler
> > +#endif
> > +int main(void) { return 0; }
> > +EOF
> > +cc_check -I . && _new_swscaler=yes
> > +echores "$_new_swscaler"

I can't make much sense of this check.  Please look at the ones for
libav* and libpostproc and copy + paste them with the proper
modifications.  The current revision of this patch is rejected.

Diego




More information about the ffmpeg-devel mailing list