aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorErik Hovland <erik@hovland.org>2008-06-22 00:30:48 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 00:30:48 +0000
commit0679719d5bef64d1627473319aab2e25fb569ece (patch)
tree861007d880bca7be229ea4bce8b5ec43d3512bb2 /ffserver.c
parent54e5cf132d63fb076efa8ec7a7067b1fddddf67d (diff)
downloadffmpeg-0679719d5bef64d1627473319aab2e25fb569ece.tar.gz
fix feed_filename test, field is char [1024], patch by Erik Hovland, erik at hovland dot org
Originally committed as revision 13857 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 4f80490675..234820d513 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1614,7 +1614,7 @@ static void compute_status(HTTPContext *c)
url_fprintf(pb, "\r\n");
url_fprintf(pb, "<HEAD><TITLE>%s Status</TITLE>\n", program_name);
- if (c->stream->feed_filename)
+ if (c->stream->feed_filename[0])
url_fprintf(pb, "<link rel=\"shortcut icon\" href=\"%s\">\n", c->stream->feed_filename);
url_fprintf(pb, "</HEAD>\n<BODY>");
url_fprintf(pb, "<H1>%s Status</H1>\n", program_name);