From: hyc Date: Sat, 7 Nov 2009 07:19:56 +0000 (+0000) Subject: Fix -r21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=080e13900a0b462dec72382374f47efdf6d5aeab;p=rtmpdump Fix -r21 git-svn-id: svn://svn.mplayerhq.hu/rtmpdump@28 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/parseurl.c b/parseurl.c index fe6719e..4af893d 100644 --- a/parseurl.c +++ b/parseurl.c @@ -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;