[FFmpeg-cvslog] network: Move variable declaration under an #if
Timothy Gu
git at videolan.org
Thu May 28 03:12:34 CEST 2015
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | 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 <michaelni at gmx.at>
> 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
More information about the ffmpeg-cvslog
mailing list