mirror of https://git.ffmpeg.org/ffmpeg.git
open logfile in append mode, don't overwrite it
Originally committed as revision 13223 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8a0b55ff35
commit
c4355f4eaa
|
@ -4448,7 +4448,7 @@ int main(int argc, char **argv)
|
||||||
if (!strcmp(logfilename, "-"))
|
if (!strcmp(logfilename, "-"))
|
||||||
logfile = stdout;
|
logfile = stdout;
|
||||||
else
|
else
|
||||||
logfile = fopen(logfilename, "w");
|
logfile = fopen(logfilename, "a");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (http_server() < 0) {
|
if (http_server() < 0) {
|
||||||
|
|
Loading…
Reference in New Issue