]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_opt.c
avcodec/cook: fix deadlock by using get_unary()
[ffmpeg] / ffmpeg_opt.c
index 738d61269a512e47c8fcc7f52396e5adf6220d68..c9283d69fabdceb4253ce5064d11cb9a8e51333a 100644 (file)
@@ -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);
     }