1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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
This commit is contained in:
Erik Hovland 2008-06-22 00:30:48 +00:00 committed by Baptiste Coudurier
parent 54e5cf132d
commit 0679719d5b

View File

@ -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);