diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-04-22 15:06:16 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-04-22 15:06:16 +0000 |
commit | 0aecfdf9304d31e2382958cf6136ca32d26e4d9a (patch) | |
tree | 02acb03a6b0e21ce82f2cf728bf4c2618e53f98a /ffserver.c | |
parent | b237eb800d038f9f73347ae4494cbb86d7f656a4 (diff) | |
download | ffmpeg-0aecfdf9304d31e2382958cf6136ca32d26e4d9a.tar.gz |
remove useless code, file removal is handled elsewhere
Originally committed as revision 8782 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ffserver.c b/ffserver.c index b5cd93a4a6..f84b87f5b0 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3956,16 +3956,6 @@ static int parse_ffconfig(const char *filename) fprintf(stderr, "%s:%d: No corresponding <Feed> for </Feed>\n", filename, line_num); errors++; -#if 0 - } else { - /* Make sure that we start out clean */ - if (unlink(feed->feed_filename) < 0 - && errno != ENOENT) { - fprintf(stderr, "%s:%d: Unable to clean old feed file '%s': %s\n", - filename, line_num, feed->feed_filename, strerror(errno)); - errors++; - } -#endif } feed = NULL; } else if (!strcasecmp(cmd, "<Stream")) { |