diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-05-27 16:39:55 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-28 03:06:05 +0200 |
commit | 7206b94fb893c63b187bcdfe26422b4e026a3ea0 (patch) | |
tree | 632f9ed1cb3465b512e210ae1d2c988427776259 | |
parent | cf52e6d012d035b82080e6cc045378f900627870 (diff) | |
download | ffmpeg-7206b94fb893c63b187bcdfe26422b4e026a3ea0.tar.gz |
network: Move variable declaration under an #if
Avoids an unused variable warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/network.c b/libavformat/network.c index 2d0503168e..8cc5aad6a9 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 |