diff options
author | Martin Storsjö <martin@martin.st> | 2016-10-13 16:17:11 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-10-14 23:11:15 +0300 |
commit | 8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830 (patch) | |
tree | 534304e10a327f62d9cc6179bf39da03513267c5 /libavformat | |
parent | d6ded94036e43a04889f4ff2813a7f7dd60b82fe (diff) | |
download | ffmpeg-8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830.tar.gz |
rtmpproto: Send chunk size on the network channel
This makes sure that e.g. Adobe FME actually reacts to it. As long
as the value we've been sending is the default one (128), the bug
hasn't been noticed.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-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 8817744e87..4107b461d1 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -492,7 +492,7 @@ static int read_connect(URLContext *s, RTMPContext *rt) return ret; // Chunk size - if ((ret = ff_rtmp_packet_create(&pkt, RTMP_SYSTEM_CHANNEL, + if ((ret = ff_rtmp_packet_create(&pkt, RTMP_NETWORK_CHANNEL, RTMP_PT_CHUNK_SIZE, 0, 4)) < 0) return ret; |