[FFmpeg-cvslog] rtmp: Do not send the first field twice within the handshake
Luca Barbato
git at videolan.org
Tue Sep 17 11:40:11 CEST 2013
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Sep 16 11:39:45 2013 +0200| [fe0337e89bbbe84b7274fbb0d9d56ed992937931] | committer: Luca Barbato
rtmp: Do not send the first field twice within the handshake
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe0337e89bbbe84b7274fbb0d9d56ed992937931
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index c75152f..33b59e4 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1349,7 +1349,7 @@ static int rtmp_send_hs_packet(RTMPContext* rt, uint32_t first_int,
int inoutsize;
AV_WB32(arraydata, first_int);
- AV_WB32(arraydata + 4, first_int);
+ AV_WB32(arraydata + 4, second_int);
inoutsize = ffurl_write(rt->stream, arraydata,
RTMP_HANDSHAKE_PACKET_SIZE);
if (inoutsize != RTMP_HANDSHAKE_PACKET_SIZE) {
More information about the ffmpeg-cvslog
mailing list