Browse Source

ffserver: move decl to start of func

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
tags/n2.8
Reynaldo H. Verdejo Pinochet 10 years ago
parent
commit
2ea642ff4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffserver.c

+ 1
- 1
ffserver.c View File

@@ -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);
}


Loading…
Cancel
Save