summaryrefslogtreecommitdiff
path: root/libavformat/libssh.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-01-21 00:50:27 +0100
committerLukasz Marek <lukasz.m.luki@gmail.com>2014-01-22 00:41:13 +0100
commit522814455cb95670c4afdbb1c801d50e63aa8a17 (patch)
tree7d0339268be37642f31b20a1bd2b6038e6362851 /libavformat/libssh.c
parent7fb5f55e1e5a5776caa087614622c4e0d4787583 (diff)
downloadffmpeg-522814455cb95670c4afdbb1c801d50e63aa8a17.tar.gz
lavf/libssh: add av_cold attributes
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Diffstat (limited to 'libavformat/libssh.c')
-rw-r--r--libavformat/libssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/libssh.c b/libavformat/libssh.c
index 00915159ab..6e67bb7448 100644
--- a/libavformat/libssh.c
+++ b/libavformat/libssh.c
@@ -160,7 +160,7 @@ static av_cold void libssh_stat_file(LIBSSHContext *libssh)
}
}
-static int libssh_close(URLContext *h)
+static av_cold int libssh_close(URLContext *h)
{
LIBSSHContext *s = h->priv_data;
if (s->file)
@@ -174,7 +174,7 @@ static int libssh_close(URLContext *h)
return 0;
}
-static int libssh_open(URLContext *h, const char *url, int flags)
+static av_cold int libssh_open(URLContext *h, const char *url, int flags)
{
LIBSSHContext *s = h->priv_data;
char proto[10], path[MAX_URL_SIZE], hostname[1024], credencials[1024];