log to stderr
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 22 Jun 2008 01:31:37 +0000 (01:31 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Sun, 22 Jun 2008 01:31:37 +0000 (01:31 +0000)
Originally committed as revision 13867 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index 5823960..a099296 100644 (file)
@@ -4531,7 +4531,7 @@ int main(int argc, char **argv)
     /* open log file if needed */
     if (logfilename[0] != '\0') {
         if (!strcmp(logfilename, "-"))
-            logfile = stdout;
+            logfile = stderr;
         else
             logfile = fopen(logfilename, "a");
         av_log_set_callback(http_av_log);