[FFmpeg-cvslog] avformat/librtmp: fix swfurl

Michael Niedermayer git at videolan.org
Sun Nov 9 12:44:24 CET 2014


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

avformat/librtmp: fix swfurl

Found-by: JULIAN GARDNER <joolzg at btinternet.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 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