1 | use ffi::*; |
---|---|
2 | |
3 | pub fn init() { |
4 | unsafe { |
5 | avformat_network_init(); |
6 | } |
7 | } |
8 | |
9 | pub fn deinit() { |
10 | unsafe { |
11 | avformat_network_deinit(); |
12 | } |
13 | } |
14 |
1 | use ffi::*; |
---|---|
2 | |
3 | pub fn init() { |
4 | unsafe { |
5 | avformat_network_init(); |
6 | } |
7 | } |
8 | |
9 | pub fn deinit() { |
10 | unsafe { |
11 | avformat_network_deinit(); |
12 | } |
13 | } |
14 |