From d1970929b5f8b873aac171586343c9d8142897ad Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 9 Nov 2014 12:36:23 +0100 Subject: avformat/librtmp: fix swfurl Found-by: JULIAN GARDNER Signed-off-by: Michael Niedermayer --- libavformat/librtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/librtmp.c') diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index c57699cc9e..67939b912e 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); -- cgit v1.2.3