Browse code

lavf/libssh: add av_cold attributes

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>

Lukasz Marek authored on 2014/01/21 08:50:27
Showing 1 changed files
... ...
@@ -160,7 +160,7 @@ static av_cold void libssh_stat_file(LIBSSHContext *libssh)
160 160
     }
161 161
 }
162 162
 
163
-static int libssh_close(URLContext *h)
163
+static av_cold int libssh_close(URLContext *h)
164 164
 {
165 165
     LIBSSHContext *s = h->priv_data;
166 166
     if (s->file)
... ...
@@ -174,7 +174,7 @@ static int libssh_close(URLContext *h)
174 174
     return 0;
175 175
 }
176 176
 
177
-static int libssh_open(URLContext *h, const char *url, int flags)
177
+static av_cold int libssh_open(URLContext *h, const char *url, int flags)
178 178
 {
179 179
     LIBSSHContext *s = h->priv_data;
180 180
     char proto[10], path[MAX_URL_SIZE], hostname[1024], credencials[1024];