summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index baffe0b375..e00805afa2 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -936,6 +936,7 @@ int main(int argc, char **argv)
parse_loglevel(argc, argv, options);
av_register_all();
+ avformat_network_init();
init_opts();
#if CONFIG_AVDEVICE
avdevice_register_all();
@@ -953,5 +954,7 @@ int main(int argc, char **argv)
ret = probe_file(input_filename);
+ avformat_network_deinit();
+
return ret;
}