Merge commit '8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830'
authorClément Bœsch <u@pkh.me>
Thu, 23 Mar 2017 15:36:05 +0000 (16:36 +0100)
committerClément Bœsch <u@pkh.me>
Thu, 23 Mar 2017 15:36:05 +0000 (16:36 +0100)
* commit '8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830':
  rtmpproto: Send chunk size on the network channel

Merged-by: Clément Bœsch <u@pkh.me>
libavformat/rtmpproto.c

index 83ab296..ef2772e 100644 (file)
@@ -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;