OSDN Git Service

ffserver: avoid useless substitution
authorReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
Thu, 13 Feb 2014 05:37:39 +0000 (02:37 -0300)
committerReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
Fri, 14 Feb 2014 17:31:41 +0000 (14:31 -0300)
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
ffserver.c

index 00b4857..d57aa31 100644 (file)
@@ -1943,7 +1943,7 @@ static void compute_status(HTTPContext *c)
     }
 
     avio_printf(pb, "HTTP/1.0 200 OK\r\n");
-    avio_printf(pb, "Content-type: %s\r\n", "text/html");
+    avio_printf(pb, "Content-type: text/html\r\n");
     avio_printf(pb, "Pragma: no-cache\r\n");
     avio_printf(pb, "\r\n");