mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
Add comment to indicate why the SDP line buffer is as big as it is.
Originally committed as revision 16137 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e322d3f5be
commit
b965ff352f
@ -563,6 +563,10 @@ static int sdp_parse(AVFormatContext *s, const char *content)
|
|||||||
{
|
{
|
||||||
const char *p;
|
const char *p;
|
||||||
int letter;
|
int letter;
|
||||||
|
/* Some SDP lines, particularly for Realmedia or ASF RTSP streams, contain long SDP
|
||||||
|
* lines containing complete ASF Headers (several kB) or arrays of MDPR (RM stream
|
||||||
|
* descriptor) headers plus "rulebooks" describing their properties. Therefore, the
|
||||||
|
* SDP line buffer is large. */
|
||||||
char buf[8192], *q;
|
char buf[8192], *q;
|
||||||
SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
|
SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user