comparison rtsp.c @ 4187:77af10d4d406 libavformat

Reindent to properly fit a 80 chars terminal.
author rbultje
date Fri, 09 Jan 2009 23:44:52 +0000
parents 076ba5bc16a4
children 7d2f3f1b68d8
comparison
equal deleted inserted replaced
4186:076ba5bc16a4 4187:77af10d4d406
504 504
505 static int sdp_parse(AVFormatContext *s, const char *content) 505 static int sdp_parse(AVFormatContext *s, const char *content)
506 { 506 {
507 const char *p; 507 const char *p;
508 int letter; 508 int letter;
509 /* Some SDP lines, particularly for Realmedia or ASF RTSP streams, contain long SDP 509 /* Some SDP lines, particularly for Realmedia or ASF RTSP streams,
510 * lines containing complete ASF Headers (several kB) or arrays of MDPR (RM stream 510 * contain long SDP lines containing complete ASF Headers (several
511 * descriptor) headers plus "rulebooks" describing their properties. Therefore, the 511 * kB) or arrays of MDPR (RM stream descriptor) headers plus
512 * SDP line buffer is large. */ 512 * "rulebooks" describing their properties. Therefore, the SDP line
513 * buffer is large. */
513 char buf[8192], *q; 514 char buf[8192], *q;
514 SDPParseState sdp_parse_state, *s1 = &sdp_parse_state; 515 SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
515 516
516 memset(s1, 0, sizeof(SDPParseState)); 517 memset(s1, 0, sizeof(SDPParseState));
517 p = content; 518 p = content;