Commit 86e85474 authored by bcoudurier's avatar bcoudurier

log to stderr

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13867 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 412d31fb
...@@ -4531,7 +4531,7 @@ int main(int argc, char **argv) ...@@ -4531,7 +4531,7 @@ int main(int argc, char **argv)
/* open log file if needed */ /* open log file if needed */
if (logfilename[0] != '\0') { if (logfilename[0] != '\0') {
if (!strcmp(logfilename, "-")) if (!strcmp(logfilename, "-"))
logfile = stdout; logfile = stderr;
else else
logfile = fopen(logfilename, "a"); logfile = fopen(logfilename, "a");
av_log_set_callback(http_av_log); av_log_set_callback(http_av_log);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment