[rtmpdump] r28 - parseurl.c

hyc subversion at mplayerhq.hu
Sat Nov 7 08:19:57 CET 2009


Author: hyc
Date: Sat Nov  7 08:19:56 2009
New Revision: 28

Log:
Fix -r21

Modified:
   parseurl.c

Modified: parseurl.c
==============================================================================
--- parseurl.c	Sat Nov  7 08:19:31 2009	(r27)
+++ parseurl.c	Sat Nov  7 08:19:56 2009	(r28)
@@ -305,7 +305,9 @@ char *ParsePlaypath(const char *playpath
 		if ((strcmp(ext, ".f4v") == 0) ||
 		    (strcmp(ext, ".mp4") == 0)) {
 			addMP4 = 1;
-		} else if (strcmp(ext, ".flv") == 0) {
+		// Only remove .flv from rtmp URL, not slist params
+		} else if ((ppstart == playpath) &&
+		    (strcmp(ext, ".flv") == 0)) {
 			pplen -= 4;
 		} else if (strcmp(ext, ".mp3") == 0) {
 			addMP3 = 1;


More information about the rtmpdump mailing list