summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorAndrew Van Til <andyvt@babgvant.com>2013-04-05 01:45:52 +0200
committerMartin Storsjö <martin@martin.st>2013-04-09 10:36:43 +0300
commit350ad50bf45d1c2930ac249e3cbcc5b0aebd626b (patch)
tree4f074fc54ec28d8d62c260598cf70ceb23ffd67c /libavformat/rtsp.c
parentbc0522dffacb9ef8f4eac8e47f73fea58c216799 (diff)
lavf: Use RTP_MAX_PACKET_LENGTH instead of 1500
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
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;