# HG changeset patch # User rbultje # Date 1229293439 0 # Node ID e2349f1f7c26acb864fc09f4b84b70d048928f37 # Parent 132640f78cb2e697c3301d451714e64ec0cf5093 Add comment to indicate why the SDP line buffer is as big as it is. diff -r 132640f78cb2 -r e2349f1f7c26 rtsp.c --- 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;