log to stderr

Originally committed as revision 13867 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-06-22 01:31:37 +00:00
parent bcd3ce5903
commit 0b459fb2d8
1 changed files with 1 additions and 1 deletions

View 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);