diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-12-14 22:23:59 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-12-14 22:23:59 +0000 |
commit | b965ff352f4171f0f2c31cf96ba215e4f92f16f6 (patch) | |
tree | 741b21a0f0567e55dad07636ccaad72ffaa52ab9 /libavformat | |
parent | e322d3f5be65edde56f42eda61983d74ad24dcdf (diff) | |
download | ffmpeg-b965ff352f4171f0f2c31cf96ba215e4f92f16f6.tar.gz |
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
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index b1f2a84584..6375a3e60f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -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; |