Commit d6bb9ebd authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

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://
parent 897ade1b
...@@ -549,7 +549,7 @@ static int sdp_parse(AVFormatContext *s, const char *content) ...@@ -549,7 +549,7 @@ static int sdp_parse(AVFormatContext *s, const char *content)
{ {
const char *p; const char *p;
int letter; int letter;
char buf[1024], *q; char buf[2048], *q;
SDPParseState sdp_parse_state, *s1 = &sdp_parse_state; SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
memset(s1, 0, sizeof(SDPParseState)); memset(s1, 0, sizeof(SDPParseState));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment