From 1c8c41ff079953d332f61a9d26656e4e36af606c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 7 Nov 2011 23:07:39 +0200 Subject: [PATCH] avformat: Avoid a warning about mixed declarations and code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index cb472c925a..309fb97a0d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3967,8 +3967,8 @@ 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; + ff_network_inited_globally = 1; if ((ret = ff_network_init()) < 0) return ret; ff_tls_init();