avformat/librtmp: fix swfurl
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Nov 2014 11:36:23 +0000 (12:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Nov 2014 11:36:23 +0000 (12:36 +0100)
Found-by: JULIAN GARDNER <joolzg@btinternet.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/librtmp.c

index c57699c..67939b9 100644 (file)
@@ -169,7 +169,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
     }
     if (ctx->swfurl) {
         av_strlcat(filename, " swfUrl=", len);
-        av_strlcat(filename, ctx->pageurl, len);
+        av_strlcat(filename, ctx->swfurl, len);
     }
     if (ctx->flashver) {
         av_strlcat(filename, " flashVer=", len);