Increase SDP line buffer size because ASF headers in RTSP-MS are very big. See ML...
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 14 Dec 2008 22:23:14 +0000 (22:23 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Sun, 14 Dec 2008 22:23:14 +0000 (22:23 +0000)
in "rtsp.c: increase SDP line buffer size" thread.

Originally committed as revision 16136 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 134910c..b1f2a84 100644 (file)
@@ -563,7 +563,7 @@ static int sdp_parse(AVFormatContext *s, const char *content)
 {
     const char *p;
     int letter;
-    char buf[2048], *q;
+    char buf[8192], *q;
     SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
 
     memset(s1, 0, sizeof(SDPParseState));