From c65521693914aed1c9fe42a2d6aebbde667fac79 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 8 Oct 2013 14:48:52 +0000 Subject: make it possible to compile ffmpeg without swscale Signed-off-by: Paul B Mahol --- ffmpeg_opt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ffmpeg_opt.c') diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 738d61269a..c9283d69fa 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -2457,7 +2457,9 @@ void show_help_default(const char *opt, const char *arg) int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM; show_help_children(avcodec_get_class(), flags); show_help_children(avformat_get_class(), flags); +#if CONFIG_SWSCALE show_help_children(sws_get_class(), flags); +#endif show_help_children(swr_get_class(), AV_OPT_FLAG_AUDIO_PARAM); show_help_children(avfilter_get_class(), AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM); } -- cgit v1.2.3