[FFmpeg-devel] [PATCH] Fix build with --disable-swscale
Vladimir Pantelic
pan
Fri May 7 18:45:01 CEST 2010
M?ns Rullg?rd wrote:
> Alternative:
>
> diff --git a/cmdutils.c b/cmdutils.c
> index 7a58cea..80917c3 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",
>
attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_cmdutils.2.patch
Type: text/x-patch
Size: 1023 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100507/e15dc028/attachment.bin>
More information about the ffmpeg-devel
mailing list