[SCM] libav/experimental: ffserver: put gcc attribute under proper ifdef
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:22:35 UTC 2013
The following commit has been merged in the experimental branch:
commit efa6ce9982ffde33b7303498ff28fcf39ff68b8d
Author: Mans Rullgard <mans at mansr.com>
Date: Sat Oct 16 20:56:32 2010 +0100
ffserver: put gcc attribute under proper ifdef
diff --git a/ffserver.c b/ffserver.c
index 94a239c..9a32408 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -384,7 +384,10 @@ static void http_vlog(const char *fmt, va_list vargs)
}
}
-static void __attribute__ ((format (printf, 1, 2))) http_log(const char *fmt, ...)
+#ifdef __GNUC__
+__attribute__ ((format (printf, 1, 2)))
+#endif
+static void http_log(const char *fmt, ...)
{
va_list vargs;
va_start(vargs, fmt);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list