History

Call avformat_network_init/deinit in the programs

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).

Martin Storsjö committed 15 years ago

Commit 776f2bb1 parent 3607ed75 files · +10 −0Browse files

Showing the changes to avserver.c (1 of 5 files). Show all

Unified · Split

avserver.c+1−0
@@ -4670,6 +4670,7 @@ int main(int argc, char **argv) · 4669 unmodified lines
46704670
46714671 parse_loglevel(argc, argv, options);
46724672 av_register_all();
4673+ avformat_network_init();
46734674
46744675 show_banner();
46754676

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t