[FFmpeg-cvslog] avformat: Avoid a warning about mixed declarations and code
Martin Storsjö
git at videolan.org
Tue Nov 8 02:22:02 CET 2011
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Nov 7 23:07:39 2011 +0200| [1c8c41ff079953d332f61a9d26656e4e36af606c] | committer: Martin Storsjö
avformat: Avoid a warning about mixed declarations and code
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1c8c41ff079953d332f61a9d26656e4e36af606c
---
libavformat/utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index cb472c9..309fb97 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();
More information about the ffmpeg-cvslog
mailing list