aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-23 16:36:05 +0100
committerClément Bœsch <u@pkh.me>2017-03-23 16:36:05 +0100
commitd1c341f77b0196947027c8a918b93a187c5dc860 (patch)
tree55e77b8bc5edae1b66a399164645aeb958744d08 /libavformat/rtmpproto.c
parenta106b7e8b93f9b5f1666d0d8c327314a7d593569 (diff)
parent8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830 (diff)
downloadffmpeg-d1c341f77b0196947027c8a918b93a187c5dc860.tar.gz
Merge commit '8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830'
* commit '8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830': rtmpproto: Send chunk size on the network channel Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 83ab296933..ef2772eaab 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -521,7 +521,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;