Merge commit '8b5e0d17e70400eaf5dc3845b5c1df8b2b88d830'
[ffmpeg.git] / 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;