diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-17 11:34:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-17 11:34:30 +0200 |
commit | 9589b6190494e91517e4a54bb7a565ecdf05bda8 (patch) | |
tree | fba440f5f01992c9722912aaf8d2df82c83995f6 | |
parent | c9eb2ce085327ef9631602d215ece53888bc4e32 (diff) | |
parent | fe0337e89bbbe84b7274fbb0d9d56ed992937931 (diff) | |
download | ffmpeg-9589b6190494e91517e4a54bb7a565ecdf05bda8.tar.gz |
Merge commit 'fe0337e89bbbe84b7274fbb0d9d56ed992937931'
* commit 'fe0337e89bbbe84b7274fbb0d9d56ed992937931':
rtmp: Do not send the first field twice within the handshake
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index b89d7913f9..01e92854a3 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -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) { |