Commit f0cc7906 authored by rbultje's avatar rbultje

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.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15141 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fe88cc56
...@@ -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