Commit b965ff35 authored by Ronald S. Bultje's avatar Ronald S. Bultje

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
parent e322d3f5
......@@ -563,6 +563,10 @@ static int sdp_parse(AVFormatContext *s, const char *content)
{
const char *p;
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;
SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
......
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