]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtsp.h
All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas
[ffmpeg] / libavformat / rtsp.h
index 67d37d6871d322e5eb75782acfc787a4071fda40..288f69776ddebe990bb75a03ac0d9520380cd3da 100644 (file)
@@ -29,6 +29,10 @@ enum RTSPProtocol {
     RTSP_PROTOCOL_RTP_UDP = 0,
     RTSP_PROTOCOL_RTP_TCP = 1,
     RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2,
+    /**
+     * This is not part of public API and shouldn't be used outside of ffmpeg.
+     */
+    RTSP_PROTOCOL_RTP_LAST
 };
 
 #define RTSP_DEFAULT_PORT   554
@@ -81,7 +85,9 @@ typedef int FFRTSPCallback(enum RTSPCallbackAction action,
 int rtsp_init(void);
 void rtsp_parse_line(RTSPHeader *reply, const char *buf);
 
+#if LIBAVFORMAT_VERSION_INT < (53 << 16)
 extern int rtsp_default_protocols;
+#endif
 extern int rtsp_rtp_port_min;
 extern int rtsp_rtp_port_max;