Mercurial > libavformat.hg
changeset 5845:7512694b0515 libavformat
Make rtsp_skip_packet non-static, add ff prefix
author | mstorsjo |
---|---|
date | Mon, 15 Mar 2010 16:31:15 +0000 |
parents | ca238015a806 |
children | 6821f3887d0e |
files | rtsp.c rtsp.h |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rtsp.c Mon Mar 15 16:15:51 2010 +0000 +++ b/rtsp.c Mon Mar 15 16:31:15 2010 +0000 @@ -861,7 +861,7 @@ } /* skip a RTP/TCP interleaved packet */ -static void rtsp_skip_packet(AVFormatContext *s) +void ff_rtsp_skip_packet(AVFormatContext *s) { RTSPState *rt = s->priv_data; int ret, len, len1; @@ -917,7 +917,7 @@ if (return_on_interleaved_data) { return 1; } else - rtsp_skip_packet(s); + ff_rtsp_skip_packet(s); } else if (ch != '\r') { if ((q - buf) < sizeof(buf) - 1) *q++ = ch;
--- a/rtsp.h Mon Mar 15 16:15:51 2010 +0000 +++ b/rtsp.h Mon Mar 15 16:31:15 2010 +0000 @@ -399,6 +399,11 @@ int return_on_interleaved_data); /** + * Skip a RTP/TCP interleaved packet. + */ +void ff_rtsp_skip_packet(AVFormatContext *s); + +/** * Connect to the RTSP server and set up the individual media streams. * This can be used for both muxers and demuxers. *