aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/network.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-02-05 00:25:07 +0200
committerMartin Storsjö <martin@martin.st>2011-11-05 12:08:59 +0200
commit48e59ad8e776546d172c4628223fcb6b0695f9f2 (patch)
tree6268f6b08f0e70bddbf340813c43c3f47b7a9f6b /libavformat/network.h
parenta060866fd769dde9e8681b7fad1b24eb97d27e18 (diff)
downloadffmpeg-48e59ad8e776546d172c4628223fcb6b0695f9f2.tar.gz
avformat: Add ff_tls_init()/deinit() that initialize OpenSSL
If the application hasn't set up mutex callbacks, we set up our own using pthreads (or w32pthreads). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/network.h')
-rw-r--r--libavformat/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index 00daed8759..df79f4598f 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -59,6 +59,9 @@ int ff_socket_nonblock(int socket, int enable);
int ff_network_init(void);
void ff_network_close(void);
+void ff_tls_init(void);
+void ff_tls_deinit(void);
+
int ff_network_wait_fd(int fd, int write);
int ff_inet_aton (const char * str, struct in_addr * add);