projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666ed7e
)
rtmp: Do not send the first field twice within the handshake
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 16 Sep 2013 09:39:45 +0000
(11:39 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 16 Sep 2013 17:36:37 +0000
(19:36 +0200)
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
c75152f
..
33b59e4
100644
(file)
--- 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) {