[FFmpeg-cvslog] r16137 - trunk/libavformat/rtsp.c
rbultje
subversion
Sun Dec 14 23:24:00 CET 2008
Author: rbultje
Date: Sun Dec 14 23:23:59 2008
New Revision: 16137
Log:
Add comment to indicate why the SDP line buffer is as big as it is.
Modified:
trunk/libavformat/rtsp.c
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c (original)
+++ trunk/libavformat/rtsp.c Sun Dec 14 23:23:59 2008
@@ -563,6 +563,10 @@ static int sdp_parse(AVFormatContext *s,
{
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;
More information about the ffmpeg-cvslog
mailing list