Skip to content
Snippets Groups Projects
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://svn.ffmpeg.org/ffmpeg/trunk
parent 897ade1b
No related branches found
No related tags found
No related merge requests found
...@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment