[FFmpeg-cvslog] r13857 - trunk/ffserver.c

bcoudurier subversion
Sun Jun 22 02:30:48 CEST 2008


Author: bcoudurier
Date: Sun Jun 22 02:30:48 2008
New Revision: 13857

Log:
fix feed_filename test, field is char [1024], patch by Erik Hovland, erik at hovland dot org

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Sun Jun 22 02:30:48 2008
@@ -1614,7 +1614,7 @@ static void compute_status(HTTPContext *
     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);




More information about the ffmpeg-cvslog mailing list