[rtmpdump] r275 - trunk/rtmpsrv.c

hyc subversion at mplayerhq.hu
Fri Feb 26 05:32:56 CET 2010


Author: hyc
Date: Fri Feb 26 05:32:55 2010
New Revision: 275

Log:
Account for quotes in cmd string

Modified:
   trunk/rtmpsrv.c

Modified: trunk/rtmpsrv.c
==============================================================================
--- trunk/rtmpsrv.c	Fri Feb 26 00:26:33 2010	(r274)
+++ trunk/rtmpsrv.c	Fri Feb 26 05:32:55 2010	(r275)
@@ -578,7 +578,7 @@ ServeInvoke(STREAMING_SERVER *server, RT
       if (r->Link.tcUrl.av_len)
         {
           len = server->arglen + r->Link.playpath.av_len + 4 +
-            sizeof("rtmpdump") + r->Link.playpath.av_len + 8;
+            sizeof("rtmpdump") + r->Link.playpath.av_len + 12;
           server->argc += 5;
 
           cmd = malloc(len + server->argc * sizeof(AVal));


More information about the rtmpdump mailing list