[FFmpeg-cvslog] rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500
Andrew Van Til
git at videolan.org
Fri Apr 5 01:59:25 CEST 2013
ffmpeg | branch: master | Andrew Van Til <andyvt at babgvant.com> | Fri Apr 5 01:45:52 2013 +0200| [5ed9eebc24add4d713ac0deafecfc714502b0bf3] | committer: Michael Niedermayer
rtsp/rtp_read_header: Use RTP_MAX_PACKET_LENGTH instead of 1500
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ed9eebc24add4d713ac0deafecfc714502b0bf3
---
libavformat/rtsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 317893c..fcc134f 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;
More information about the ffmpeg-cvslog
mailing list