* 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
/* 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;
}
chdir("/");
close(0);
open("/dev/null", O_RDWR);
- if (!strcmp(logfilename, "-")) {
+ if (strcmp(logfilename, "-") != 0) {
close(1);
dup(0);
}