Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-07-27 04:29:47 +0300
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-07-27 04:29:47 +0300
commit2ea642ff4b730fcfc70cf6dc0c959762b8c9d799 (patch)
treef557384c620745fc453b17b5b678405f49ac4415 /ffserver.c
parent33c4fc0a2d7068b2a5c4627e9e943904d694730d (diff)
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.c2
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);
}