aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-09-01 13:47:53 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-09-01 13:47:53 +0000
commitd6bb9ebdc605d3e28b9224cea9ecad822233ba52 (patch)
tree7cbc3f52dd4b3209c842861bea6ff67a0a02cbd7 /libavformat
parent897ade1ba952db5eb6f3b8f384dde1c105a36255 (diff)
downloadffmpeg-d6bb9ebdc605d3e28b9224cea9ecad822233ba52.tar.gz
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
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));