aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-07 23:07:39 +0200
committerMartin Storsjö <martin@martin.st>2011-11-08 01:02:14 +0200
commit1c8c41ff079953d332f61a9d26656e4e36af606c (patch)
tree34c83cc88adfa0d693ce0cd3b0625f283dd7b9e8 /libavformat
parentf545e0067751b764917be53520d233db1bbb945d (diff)
downloadffmpeg-1c8c41ff079953d332f61a9d26656e4e36af606c.tar.gz
avformat: Avoid a warning about mixed declarations and code
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
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();