Commit 13e92652 authored by rbultje's avatar rbultje

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.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16502 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d556430a
......@@ -1299,7 +1299,7 @@ static int rtsp_read_packet(AVFormatContext *s,
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment