Commit 5ed9eebc authored by Andrew Van Til's avatar Andrew Van Til Committed by Michael Niedermayer

rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c430eb2d
......@@ -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;
......
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