[FFmpeg-devel] [PATCH] fix swscale-example build
Mon Feb 9 20:16:16 CET 2009
On Mon, Feb 09, 2009 at 07:27:26PM +0100, Michael Niedermayer wrote:
> On Mon, Feb 09, 2009 at 06:11:04PM +0100, Diego Biurrun 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?
> even though this has already been solved in a way that iam happy with
> i wanted to add that
> swscale-example is supposed to be an example and such external applications
> should not include internal stuff
Yes. It currently contains '#include "config.h"', which is bad, but
since it uses '#if ARCH_X86', this is necessary...
More information about the ffmpeg-devel