[FFmpeg-devel] [PATCH] Fix build with --disable-swscale
Mans Rullgard
mans
Fri May 7 18:33:03 CEST 2010
---
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
}
int read_yesno(void)
--
1.7.1
More information about the ffmpeg-devel
mailing list