changeset 3860:d8fce96bb3ab libavformat

Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP line buffer needs to be increased. See discussion in "Realmedia patch" thread on mailinglist.
author rbultje
date Mon, 01 Sep 2008 13:47:53 +0000
parents 8bde52c0934c
children a0098594ab90
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Mon Sep 01 13:46:50 2008 +0000
+++ b/rtsp.c	Mon Sep 01 13:47:53 2008 +0000
@@ -549,7 +549,7 @@
 {
     const char *p;
     int letter;
-    char buf[1024], *q;
+    char buf[2048], *q;
     SDPParseState sdp_parse_state, *s1 = &sdp_parse_state;
 
     memset(s1, 0, sizeof(SDPParseState));