Browse Source

Fix build with swscale disabled

backport r23062 by mru


Originally committed as revision 23189 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
tags/v0.6
Reinhard Tartler 15 years ago
parent
commit
40630a90ed
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      cmdutils.c

+ 5
- 0
cmdutils.c View File

@@ -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",


Loading…
Cancel
Save