diff options
author | Måns Rullgård <mans@mansr.com> | 2010-05-09 12:04:48 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-05-09 12:04:48 +0000 |
commit | e24db3e3918e7eb0d2f217a81d4b902c6945c958 (patch) | |
tree | e055f941f5a891c0065913993bb73be78c381e58 /cmdutils.c | |
parent | 0a9cb385adb997238883787cf5b1f737462131d3 (diff) | |
download | ffmpeg-e24db3e3918e7eb0d2f217a81d4b902c6945c958.tar.gz |
Fix build with swscale disabled
Originally committed as revision 23062 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 5 insertions, 0 deletions
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", |