blob: fb0bab6821bac5165310ceaf88d81ed7f927ad54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/^#define/ && $3 {
cfg[$2] = 1
}
func proto(name) {
if (cfg["CONFIG_" toupper(name) "_PROTOCOL"])
print "&ff_" name "_protocol,"
}
END {
print "static const URLProtocol *url_protocols[] = {"
proto("async")
proto("bluray")
proto("cache")
proto("concat")
proto("crypto")
proto("data")
proto("ffrtmpcrypt")
proto("ffrtmphttp")
proto("file")
proto("ftp")
proto("gopher")
proto("hls")
proto("http")
proto("httpproxy")
proto("https")
proto("icecast")
proto("mmsh")
proto("mmst")
proto("md5")
proto("pipe")
proto("rtmp")
proto("rtmpe")
proto("rtmps")
proto("rtmpt")
proto("rtmpte")
proto("rtmpts")
proto("rtp")
proto("sctp")
proto("srtp")
proto("subfile")
proto("tee")
proto("tcp")
proto("tls_gnutls")
proto("tls_schannel")
proto("tls_securetransport")
proto("tls_openssl")
proto("udp")
proto("udplite")
proto("unix")
proto("librtmp")
proto("librtmpe")
proto("librtmps")
proto("librtmpt")
proto("librtmpte")
proto("libssh")
proto("libsmbclient")
print "NULL};"
}
|