log to stderr
Originally committed as revision 13867 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bcd3ce5903
commit
0b459fb2d8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user