From 40630a90ed95018a2b2e5c740f2510a29a226f0f Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Wed, 19 May 2010 13:43:34 +0000 Subject: [PATCH] Fix build with swscale disabled backport r23062 by mru Originally committed as revision 23189 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6 --- cmdutils.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmdutils.c b/cmdutils.c index 7a58cead8d..80917c3a19 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -609,6 +609,11 @@ void show_pix_fmts(void) "FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL\n" "-----\n"); +#if !CONFIG_SWSCALE +# define sws_isSupportedInput(x) 0 +# define sws_isSupportedOutput(x) 0 +#endif + for (pix_fmt = 0; pix_fmt < PIX_FMT_NB; pix_fmt++) { const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[pix_fmt]; printf("%c%c%c%c%c %-16s %d %2d\n",