diff rtsp.h @ 5697:484fceabfad2 libavformat

Prefix non-static RTSP functions with ff_.
author rbultje
date Tue, 23 Feb 2010 00:35:50 +0000
parents 87b26ad577c5
children 982edb9135ca
line wrap: on
line diff
--- a/rtsp.h	Mon Feb 22 22:05:20 2010 +0000
+++ b/rtsp.h	Tue Feb 23 00:35:50 2010 +0000
@@ -315,7 +315,7 @@
     //@}
 } RTSPStream;
 
-void rtsp_parse_line(RTSPMessageHeader *reply, const char *buf);
+void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf);
 
 #if LIBAVFORMAT_VERSION_INT < (53 << 16)
 extern int rtsp_default_protocols;
@@ -323,9 +323,6 @@
 extern int rtsp_rtp_port_min;
 extern int rtsp_rtp_port_max;
 
-int rtsp_pause(AVFormatContext *s);
-int rtsp_resume(AVFormatContext *s);
-
 /**
  * Send a command to the RTSP server without waiting for the reply.
  *
@@ -335,7 +332,7 @@
  * @param send_content_length the length of the send_content data, or 0 if
  *                            send_content is null
  */
-void rtsp_send_cmd_with_content_async(AVFormatContext *s,
+void ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
                                       const char *cmd,
                                       const unsigned char *send_content,
                                       int send_content_length);
@@ -344,7 +341,7 @@
  *
  * @see rtsp_send_cmd_with_content_async
  */
-void rtsp_send_cmd_async(AVFormatContext *s, const char *cmd);
+void ff_rtsp_send_cmd_async(AVFormatContext *s, const char *cmd);
 
 /**
  * Send a command to the RTSP server and wait for the reply.
@@ -358,7 +355,7 @@
  * @param send_content_length the length of the send_content data, or 0 if
  *                            send_content is null
  */
-void rtsp_send_cmd_with_content(AVFormatContext *s,
+void ff_rtsp_send_cmd_with_content(AVFormatContext *s,
                                 const char *cmd,
                                 RTSPMessageHeader *reply,
                                 unsigned char **content_ptr,
@@ -370,7 +367,7 @@
  *
  * @see rtsp_send_cmd_with_content
  */
-void rtsp_send_cmd(AVFormatContext *s, const char *cmd,
+void ff_rtsp_send_cmd(AVFormatContext *s, const char *cmd,
                    RTSPMessageHeader *reply, unsigned char **content_ptr);
 
 /**
@@ -394,7 +391,7 @@
  * @returns 1 if a data packets is ready to be received, -1 on error,
  *          and 0 on success.
  */
-int rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
+int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
                     unsigned char **content_ptr,
                     int return_on_interleaved_data);
 
@@ -407,13 +404,13 @@
  * @returns 0 on success, < 0 on error. Cleans up all allocations done
  *          within the function on error.
  */
-int rtsp_connect(AVFormatContext *s);
+int ff_rtsp_connect(AVFormatContext *s);
 
 /**
  * Close and free all streams within the RTSP (de)muxer
  *
  * @param s RTSP (de)muxer context
  */
-void rtsp_close_streams(AVFormatContext *s);
+void ff_rtsp_close_streams(AVFormatContext *s);
 
 #endif /* AVFORMAT_RTSP_H */