diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-07 15:57:33 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-11-07 21:29:33 +0400 |
commit | ce145690b6a53dd9d5134c6d4a5c6d401bc69514 (patch) | |
tree | b83a3b862d43ba9dfb4d27069a9bb7995cd6c051 /libavformat/network.h | |
parent | 87892ef8a6b3052dcdaa6b50e1e1835b7d666b42 (diff) |
avformat: Warn about using network functions without calling avformat_network_init
This is to make developers aware of the fact that they will
start using the new init function at some point.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index df79f4598f..72d01d2986 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -56,6 +56,7 @@ int ff_neterrno(void); int ff_socket_nonblock(int socket, int enable); +extern int ff_network_inited_globally; int ff_network_init(void); void ff_network_close(void); |