[FFmpeg-cvslog] r16502 - trunk/libavformat/rtsp.c

rbultje subversion
Fri Jan 9 02:30:15 CET 2009


Author: rbultje
Date: Fri Jan  9 02:30:14 2009
New Revision: 16502

Log:
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.

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Fri Jan  9 01:01:42 2009	(r16501)
+++ trunk/libavformat/rtsp.c	Fri Jan  9 02:30:14 2009	(r16502)
@@ -1299,7 +1299,7 @@ static int rtsp_read_packet(AVFormatCont
     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;




More information about the ffmpeg-cvslog mailing list