[FFmpeg-cvslog] lavf/libssh: add av_cold attributes

Lukasz Marek git at videolan.org
Wed Jan 22 01:35:27 CET 2014


ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki at gmail.com> | Tue Jan 21 00:50:27 2014 +0100| [522814455cb95670c4afdbb1c801d50e63aa8a17] | committer: Lukasz Marek

lavf/libssh: add av_cold attributes

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=522814455cb95670c4afdbb1c801d50e63aa8a17
---

 libavformat/libssh.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/libssh.c b/libavformat/libssh.c
index 0091515..6e67bb7 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];



More information about the ffmpeg-cvslog mailing list