[FFmpeg-devel] [PATCH] fix swscale-example build

Diego Biurrun diego
Mon Feb 9 18:51:56 CET 2009


On Mon, Feb 09, 2009 at 08:41:21PM +0200, Kostya wrote:
> On Mon, Feb 09, 2009 at 03:19:11PM -0200, Ramiro Polla wrote:
> > On Mon, Feb 9, 2009 at 3:11 PM, Diego Biurrun <diego at biurrun.de> wrote:
> > > Currently 'make tests' fails when trying to build swscale-example.
> > >
> > > The problem is that we #undef HAVE_AV_CONFIG_H in swscale-exampl.c,
> > > which #includes swscale_internal.h, which needs DECLARE_ALIGNED, which
> > > is #defined in libavutil/internal.h, which is not #included if
> > > HAVE_AV_CONFIG_H is not set.
> > >
> > > Any other solutions?
> > 
> > Is it really necessary for extern variables to be DECLARE_ALIGNED?
> 
> Indeed, dropping DECLARE_ALIGNED in swscale_internal.h seems to be better
> solution.

OK, done.

Diego




More information about the ffmpeg-devel mailing list