summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/rtsp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 1bccd28735..77ada043a7 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -506,10 +506,11 @@ 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. */
+ /* 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;