[FFmpeg-cvslog] r22547 - in trunk/libavformat: rtsp.c rtsp.h

mstorsjo subversion
Mon Mar 15 17:31:15 CET 2010


Author: mstorsjo
Date: Mon Mar 15 17:31:15 2010
New Revision: 22547

Log:
Make rtsp_skip_packet non-static, add ff prefix

Modified:
   trunk/libavformat/rtsp.c
   trunk/libavformat/rtsp.h

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Mon Mar 15 17:15:51 2010	(r22546)
+++ trunk/libavformat/rtsp.c	Mon Mar 15 17:31:15 2010	(r22547)
@@ -861,7 +861,7 @@ void ff_rtsp_parse_line(RTSPMessageHeade
 }
 
 /* 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 *
                 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;

Modified: trunk/libavformat/rtsp.h
==============================================================================
--- trunk/libavformat/rtsp.h	Mon Mar 15 17:15:51 2010	(r22546)
+++ trunk/libavformat/rtsp.h	Mon Mar 15 17:31:15 2010	(r22547)
@@ -399,6 +399,11 @@ int ff_rtsp_read_reply(AVFormatContext *
                        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.
  *



More information about the ffmpeg-cvslog mailing list