[FFmpeg-devel] [PATCH]configure: Simplify dependencies

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Oct 3 17:45:46 CEST 2015


Hi!

Attached patch simplifies dependencies in configure, avutil is always built.
It also simplifies usage of --disable-all

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 3ee1ed2..89cb580 100755
--- a/configure
+++ b/configure
@@ -2821,33 +2821,28 @@ zmq_filter_deps="libzmq"
 zoompan_filter_deps="swscale"
 
 # examples
-avio_reading="avformat avcodec avutil"
-avio_dir_cmd="avformat avutil"
-avcodec_example_deps="avcodec avutil"
-decoding_encoding_example_deps="avcodec avformat avutil"
-demuxing_decoding_example_deps="avcodec avformat avutil"
-extract_mvs_example_deps="avcodec avformat avutil"
-filter_audio_example_deps="avfilter avutil"
-filtering_audio_example_deps="avfilter avcodec avformat avutil"
-filtering_video_example_deps="avfilter avcodec avformat avutil"
-metadata_example_deps="avformat avutil"
-muxing_example_deps="avcodec avformat avutil swscale"
-qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder vaapi_x11"
-remuxing_example_deps="avcodec avformat avutil"
-resampling_audio_example_deps="avutil swresample"
-scaling_video_example_deps="avutil swscale"
+avio_reading="avformat avcodec"
+avio_dir_cmd="avformat"
+avcodec_example_deps="avcodec"
+decoding_encoding_example_deps="avcodec avformat"
+demuxing_decoding_example_deps="avcodec avformat"
+extract_mvs_example_deps="avcodec avformat"
+filter_audio_example_deps="avfilter"
+filtering_audio_example_deps="avfilter avcodec avformat"
+filtering_video_example_deps="avfilter avcodec avformat"
+metadata_example_deps="avformat"
+muxing_example_deps="avcodec avformat swscale"
+qsvdec_example_deps="avcodec libmfx h264_qsv_decoder vaapi_x11"
+remuxing_example_deps="avcodec avformat"
+resampling_audio_example_deps="swresample"
+scaling_video_example_deps="swscale"
 transcode_aac_example_deps="avcodec avformat swresample"
-transcoding_example_deps="avfilter avcodec avformat avutil"
+transcoding_example_deps="avfilter avcodec avformat"
 
 # libraries, in linking order
-avcodec_deps="avutil"
-avdevice_deps="avformat avcodec avutil"
-avfilter_deps="avutil"
-avformat_deps="avcodec avutil"
-avresample_deps="avutil"
-postproc_deps="avutil gpl"
-swresample_deps="avutil"
-swscale_deps="avutil"
+avdevice_deps="avformat avcodec"
+avformat_deps="avcodec"
+postproc_deps="gpl"
 
 # programs
 ffmpeg_deps="avcodec avfilter avformat swresample"


More information about the ffmpeg-devel mailing list