lavf/libssh: add av_cold attributes

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
This commit is contained in:
Lukasz Marek 2014-01-21 00:50:27 +01:00
parent 7fb5f55e1e
commit 522814455c
1 changed files with 2 additions and 2 deletions

View File

@ -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];