mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix build with swscale disabled
Originally committed as revision 23062 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0a9cb385ad
commit
e24db3e391
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user