summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/librtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index 74e2c49572..fac3a35196 100644
--- a/libavformat/librtmp.c
+++ b/libavformat/librtmp.c
@@ -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);