summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/avprobe.c b/avprobe.c
index 99ec1aa08e..992f07c5cf 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -399,6 +399,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();
@@ -416,5 +417,7 @@ int main(int argc, char **argv)
ret = probe_file(input_filename);
+ avformat_network_deinit();
+
return ret;
}