diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-07-26 22:29:47 -0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-07-26 22:29:47 -0300 |
commit | 2ea642ff4b730fcfc70cf6dc0c959762b8c9d799 (patch) | |
tree | f557384c620745fc453b17b5b678405f49ac4415 /ffserver.c | |
parent | 33c4fc0a2d7068b2a5c4627e9e943904d694730d (diff) | |
download | ffmpeg-2ea642ff4b730fcfc70cf6dc0c959762b8c9d799.tar.gz |
ffserver: move decl to start of func
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 5082a4cd26..551ef88569 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); } |