git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0a9cb38
)
Fix build with swscale disabled
author
Måns Rullgård
<mans@mansr.com>
Sun, 9 May 2010 12:04:48 +0000
(12:04 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sun, 9 May 2010 12:04:48 +0000
(12:04 +0000)
Originally committed as revision 23062 to svn://svn.ffmpeg.org/ffmpeg/trunk
cmdutils.c
patch
|
blob
|
history
diff --git
a/cmdutils.c
b/cmdutils.c
index
7a58cea
..
80917c3
100644
(file)
--- 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",