Browse Source

rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Andrew Van Til Michael Niedermayer 12 years ago
parent
commit
5ed9eebc24
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtsp.c

+ 1
- 1
libavformat/rtsp.c View File

@@ -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;


Loading…
Cancel
Save