ffmpeg | branch: master | Timothy Gu <[email protected]> | Wed May 27 
16:39:55 2015 -0700| [7206b94fb893c63b187bcdfe26422b4e026a3ea0] | committer: 
Michael Niedermayer

network: Move variable declaration under an #if

Avoids an unused variable warning.

Signed-off-by: Michael Niedermayer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7206b94fb893c63b187bcdfe26422b4e026a3ea0
---

 libavformat/network.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/network.c b/libavformat/network.c
index 2d05031..8cc5aad 100644
--- a/libavformat/network.c
+++ b/libavformat/network.c
@@ -29,8 +29,8 @@
 
 int ff_tls_init(void)
 {
-    int ret;
 #if CONFIG_TLS_OPENSSL_PROTOCOL
+    int ret;
     if ((ret = ff_openssl_init()) < 0)
         return ret;
 #endif

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to