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

Kostya kostya.shishkov
Mon Feb 9 19:41:21 CET 2009


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.




More information about the ffmpeg-devel mailing list