1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-09-16 08:36:51 +02:00

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:
Baptiste Coudurier
2008-05-21 20:56:22 +00:00
parent 8a0b55ff35
commit c4355f4eaa

View File

@@ -4448,7 +4448,7 @@ int main(int argc, char **argv)
if (!strcmp(logfilename, "-"))
logfile = stdout;
else
logfile = fopen(logfilename, "w");
logfile = fopen(logfilename, "a");
}
if (http_server() < 0) {