Commit 9589b619 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'fe0337e8'

* commit 'fe0337e8':
  rtmp: Do not send the first field twice within the handshake
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents c9eb2ce0 fe0337e8
......@@ -1346,7 +1346,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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment