Commit ec0893de authored by mru's avatar mru

Fix build with swscale disabled

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23062 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b07cfd71
...@@ -609,6 +609,11 @@ void show_pix_fmts(void) ...@@ -609,6 +609,11 @@ void show_pix_fmts(void)
"FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL\n" "FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL\n"
"-----\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++) { for (pix_fmt = 0; pix_fmt < PIX_FMT_NB; pix_fmt++) {
const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[pix_fmt]; const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[pix_fmt];
printf("%c%c%c%c%c %-16s %d %2d\n", printf("%c%c%c%c%c %-16s %d %2d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment