Mercurial > libavformat.hg
comparison rtsp.c @ 3860:d8fce96bb3ab libavformat
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.
author | rbultje |
---|---|
date | Mon, 01 Sep 2008 13:47:53 +0000 |
parents | 8bde52c0934c |
children | a0098594ab90 |
comparison
equal
deleted
inserted
replaced
3859:8bde52c0934c | 3860:d8fce96bb3ab |
---|---|
547 | 547 |
548 static int sdp_parse(AVFormatContext *s, const char *content) | 548 static int sdp_parse(AVFormatContext *s, const char *content) |
549 { | 549 { |
550 const char *p; | 550 const char *p; |
551 int letter; | 551 int letter; |
552 char buf[1024], *q; | 552 char buf[2048], *q; |
553 SDPParseState sdp_parse_state, *s1 = &sdp_parse_state; | 553 SDPParseState sdp_parse_state, *s1 = &sdp_parse_state; |
554 | 554 |
555 memset(s1, 0, sizeof(SDPParseState)); | 555 memset(s1, 0, sizeof(SDPParseState)); |
556 p = content; | 556 p = content; |
557 for(;;) { | 557 for(;;) { |