[FFmpeg-cvslog] avformat/librtmp: fix swfurl

Michael Niedermayer git at videolan.org
Sun Jan 18 02:50:12 CET 2015


ffmpeg | branch: release/2.4 | Michael Niedermayer <michaelni at gmx.at> | Sun Nov  9 12:36:23 2014 +0100| [e82140b09b0f6ab7b64899bec12221dc582f1b95] | committer: Michael Niedermayer

avformat/librtmp: fix swfurl

Found-by: JULIAN GARDNER <joolzg at btinternet.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit d1970929b5f8b873aac171586343c9d8142897ad)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e82140b09b0f6ab7b64899bec12221dc582f1b95
---

 libavformat/librtmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index c57699c..67939b9 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);



More information about the ffmpeg-cvslog mailing list