mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
897ade1ba9
commit
d6bb9ebdc6
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue