From f853bb1128d74946a928fa70fff1a42a377a329c Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Sat, 27 Jul 2002 15:22:17 +0000 Subject: * Removed a debug printf * Fix the sense of the test for "-" with customlog and not closing stdout in daemon mode Originally committed as revision 828 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index c9bd4b92f0..4723ee0a15 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1778,7 +1778,6 @@ static int open_input_stream(HTTPContext *c, const char *info) /* set the start time (needed for maxtime and RTP packet timing) */ c->start_time = cur_time; c->first_pts = AV_NOPTS_VALUE; - printf("stream %s opened pos=%0.6f\n", input_filename, stream_pos / 1000000.0); return 0; } @@ -3976,7 +3975,7 @@ int main(int argc, char **argv) chdir("/"); close(0); open("/dev/null", O_RDWR); - if (!strcmp(logfilename, "-")) { + if (strcmp(logfilename, "-") != 0) { close(1); dup(0); } -- cgit v1.2.3