Remove duplicates from OBJS
[ffmpeg.git] / ffprobe.c
index 0cc63ec..b6ac061 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#undef HAVE_AV_CONFIG_H
+#include "config.h"
+
 #include "libavformat/avformat.h"
 #include "libavcodec/avcodec.h"
 #include "libavcodec/opt.h"
 #include "libavutil/pixdesc.h"
+#include "libavdevice/avdevice.h"
 #include "cmdutils.h"
 
 const char program_name[] = "FFprobe";
@@ -334,6 +336,9 @@ static const OptionDef options[] = {
 int main(int argc, char **argv)
 {
     av_register_all();
+#if CONFIG_AVDEVICE
+    avdevice_register_all();
+#endif
 
     show_banner();
     parse_options(argc, argv, options, opt_input_file);