changeset 4109:e2349f1f7c26 libavformat

Add comment to indicate why the SDP line buffer is as big as it is.
author rbultje
date Sun, 14 Dec 2008 22:23:59 +0000
parents 132640f78cb2
children 9ca077eb2eb2
files rtsp.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Sun Dec 14 22:23:14 2008 +0000
+++ b/rtsp.c	Sun Dec 14 22:23:59 2008 +0000
@@ -563,6 +563,10 @@
 {
     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;