[FFmpeg-devel] [PATCH] Fix build with --disable-swscale
Vladimir Pantelic
pan
Fri May 7 18:38:57 CEST 2010
Mans Rullgard wrote:
> ---
> cmdutils.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/cmdutils.c b/cmdutils.c
> index 7a58cea..3e47fce 100644
> --- a/cmdutils.c
> +++ b/cmdutils.c
> @@ -609,6 +609,7 @@ void show_pix_fmts(void)
> "FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL\n"
> "-----\n");
>
> +#if CONFIG_SWSCALE
> 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",
> @@ -621,6 +622,7 @@ void show_pix_fmts(void)
> pix_desc->nb_components,
> av_get_bits_per_pixel(pix_desc));
> }
> +#endif
that #ifdefs away a bit too much, no?
see attached that also takes care about bitstream filters and protocols...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_cmdutils.patch
Type: text/x-patch
Size: 1316 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100507/ba580b0a/attachment.bin>
More information about the ffmpeg-devel
mailing list