From 350ad50bf45d1c2930ac249e3cbcc5b0aebd626b Mon Sep 17 00:00:00 2001 From: Andrew Van Til Date: Fri, 5 Apr 2013 01:45:52 +0200 Subject: lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtsp.c') diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 1ce28d6457..9dfb97508c 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2138,7 +2138,7 @@ static int rtp_probe(AVProbeData *p) static int rtp_read_header(AVFormatContext *s) { - uint8_t recvbuf[1500]; + uint8_t recvbuf[RTP_MAX_PACKET_LENGTH]; char host[500], sdp[500]; int ret, port; URLContext* in = NULL; -- cgit v1.2.3