You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffserver: put gcc attribute under proper ifdef
(cherry picked from commit efa6ce9982
)
This commit is contained in:
committed by
Michael Niedermayer
parent
4f40ec0552
commit
5658abf8c9
@@ -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_list vargs;
|
||||||
va_start(vargs, fmt);
|
va_start(vargs, fmt);
|
||||||
|
Reference in New Issue
Block a user