diff options
author | Andrew Van Til <andyvt@babgvant.com> | 2013-04-05 01:45:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-05 01:48:55 +0200 |
commit | 5ed9eebc24add4d713ac0deafecfc714502b0bf3 (patch) | |
tree | 028494ada65b7c6cdb4f97d128bc427fdb107bc9 | |
parent | c430eb2d58d21e70e202a593929759e785c36036 (diff) | |
download | ffmpeg-5ed9eebc24add4d713ac0deafecfc714502b0bf3.tar.gz |
rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 317893c5d0..fcc134f06f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2134,7 +2134,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; |