[FFmpeg-cvslog] r23189 - in branches/0.6: . cmdutils.c
siretart
subversion
Wed May 19 15:43:34 CEST 2010
Author: siretart
Date: Wed May 19 15:43:34 2010
New Revision: 23189
Log:
Fix build with swscale disabled
backport r23062 by mru
Modified:
branches/0.6/ (props changed)
branches/0.6/cmdutils.c
Modified: branches/0.6/cmdutils.c
==============================================================================
--- branches/0.6/cmdutils.c Wed May 19 15:30:30 2010 (r23188)
+++ branches/0.6/cmdutils.c Wed May 19 15:43:34 2010 (r23189)
@@ -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",
More information about the ffmpeg-cvslog
mailing list