]> git.sesse.net Git - ffmpeg/commitdiff
rtsp: increase the control uri size
authorYigit Uyan <git@yigituyan.com>
Tue, 13 Oct 2020 08:17:12 +0000 (01:17 -0700)
committerAnton Khirnov <anton@khirnov.net>
Wed, 28 Oct 2020 12:53:20 +0000 (13:53 +0100)
Current browsers support up to 2k characters.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/rtsp.h

index 54a9a30c16f89441770341708e466c66c89fd538..2b37f5b49fc2b97df7d3f3e6de3d49e8b1c785da 100644 (file)
@@ -315,7 +315,7 @@ typedef struct RTSPState {
     /** some MS RTSP streams contain a URL in the SDP that we need to use
      * for all subsequent RTSP requests, rather than the input URI; in
      * other cases, this is a copy of AVFormatContext->filename. */
-    char control_uri[1024];
+    char control_uri[2048];
 
     /** The following are used for parsing raw mpegts in udp */
     //@{