aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-03-15 16:31:15 +0000
committerMartin Storsjö <martin@martin.st>2010-03-15 16:31:15 +0000
commitec55edba312199245d7b830284b861673d27e999 (patch)
tree98917fc142ccd20b91da4827d06efc60a2f633c9 /libavformat/rtsp.c
parentc040badb703e773a98f37392e9bc609e1a0b7439 (diff)
downloadffmpeg-ec55edba312199245d7b830284b861673d27e999.tar.gz
Make rtsp_skip_packet non-static, add ff prefix
Originally committed as revision 22547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index fafd27c056..a0e0b9e1a5 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -861,7 +861,7 @@ void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf)
}
/* 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 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
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;