From ce145690b6a53dd9d5134c6d4a5c6d401bc69514 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 7 Nov 2011 13:57:33 +0200 Subject: avformat: Warn about using network functions without calling avformat_network_init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ö --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/utils.c') diff --git a/libavformat/utils.c b/libavformat/utils.c index 8d0ae050d8..cb472c925a 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3967,6 +3967,7 @@ int avformat_query_codec(AVOutputFormat *ofmt, enum CodecID codec_id, int std_co int avformat_network_init(void) { #if CONFIG_NETWORK + ff_network_inited_globally = 1; int ret; if ((ret = ff_network_init()) < 0) return ret; -- cgit v1.2.3