changeset 4182:313d987dd2b4 libavformat

Increase buffer size for RTP packet data because some ASF streams use a manual, non-standard blocksize which is bigger than RTP_MAX_PACKET_LENGTH. See "[PATCH] RTSP-MS 4/15: blocksize detection" thread on mailinglist.
author rbultje
date Fri, 09 Jan 2009 01:30:14 +0000
parents 17a8a3696ee1
children 046a97603352
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Fri Jan 09 00:01:42 2009 +0000
+++ b/rtsp.c	Fri Jan 09 01:30:14 2009 +0000
@@ -1299,7 +1299,7 @@
     RTSPState *rt = s->priv_data;
     RTSPStream *rtsp_st;
     int ret, len;
-    uint8_t buf[RTP_MAX_PACKET_LENGTH];
+    uint8_t buf[10 * RTP_MAX_PACKET_LENGTH];
 
     if (rt->server_type == RTSP_SERVER_REAL) {
         int i;