From d6bb9ebdc605d3e28b9224cea9ecad822233ba52 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 1 Sep 2008 13:47:53 +0000 Subject: [PATCH] Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP line buffer needs to be increased. See discussion in "Realmedia patch" thread on mailinglist. Originally committed as revision 15141 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 57c2105940..0c60b83fdc 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -549,7 +549,7 @@ static int sdp_parse(AVFormatContext *s, const char *content) { const char *p; int letter; - char buf[1024], *q; + char buf[2048], *q; SDPParseState sdp_parse_state, *s1 = &sdp_parse_state; memset(s1, 0, sizeof(SDPParseState));