aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-07-27 15:22:17 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-07-27 15:22:17 +0000
commitf853bb1128d74946a928fa70fff1a42a377a329c (patch)
treebdbf3a5c18bbe052e97161136ad9a8080f500f7a /ffserver.c
parent38274ea2687b48bb82f76e9930c47619dda0a5c6 (diff)
downloadffmpeg-f853bb1128d74946a928fa70fff1a42a377a329c.tar.gz
* 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
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c3
1 files changed, 1 insertions, 2 deletions
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);
}