ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <[email protected]> | Sun Jul 26 22:29:47 2015 -0300| [2ea642ff4b730fcfc70cf6dc0c959762b8c9d799] | committer: Reynaldo H. Verdejo Pinochet
ffserver: move decl to start of func Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ea642ff4b730fcfc70cf6dc0c959762b8c9d799 --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index 5082a4c..551ef88 100644 --- a/ffserver.c +++ b/ffserver.c @@ -316,12 +316,12 @@ static char *ctime1(char *buf2, int buf_size) static void http_vlog(const char *fmt, va_list vargs) { static int print_prefix = 1; + char buf[32]; if (!logfile) return; if (print_prefix) { - char buf[32]; ctime1(buf, sizeof(buf)); fprintf(logfile, "%s ", buf); } _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
