Calling the init function will become mandatory at some later point. By calling it, more heavy network init (such as SSL/TLS library init) can be done once at startup, instead of implicitly when used (which could lead to it being done a number of times).
Showing the changes to avserver.c (1 of 5 files). Show all
Unified · Split
| @@ -4670,6 +4670,7 @@ int main(int argc, char **argv) · 4669 unmodified lines | |||
| 4670 | 4670 | ||
| 4671 | parse_loglevel(argc, argv, options); | 4671 | parse_loglevel(argc, argv, options); |
| 4672 | av_register_all(); | 4672 | av_register_all(); |
| 4673 | avformat_network_init(); | ||
| 4673 | 4674 | ||
| 4674 | show_banner(); | 4675 | show_banner(); |
| 4675 | 4676 | ||