summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavformat/rtsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavformat/rtsp.h')
-rw-r--r--contrib/ffmpeg/libavformat/rtsp.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/ffmpeg/libavformat/rtsp.h b/contrib/ffmpeg/libavformat/rtsp.h
index 481e2ba49..6adadbc81 100644
--- a/contrib/ffmpeg/libavformat/rtsp.h
+++ b/contrib/ffmpeg/libavformat/rtsp.h
@@ -18,9 +18,11 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTSP_H
-#define RTSP_H
+#ifndef FFMPEG_RTSP_H
+#define FFMPEG_RTSP_H
+#include <stdint.h>
+#include "avformat.h"
#include "rtspcodes.h"
enum RTSPProtocol {
@@ -76,19 +78,16 @@ typedef int FFRTSPCallback(enum RTSPCallbackAction action,
char *buf, int buf_size,
void *arg);
-/** useful for modules: set RTSP callback function */
-void rtsp_set_callback(FFRTSPCallback *rtsp_cb);
-
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;
-extern FFRTSPCallback *ff_rtsp_callback;
-extern AVInputFormat rtsp_demuxer;
int rtsp_pause(AVFormatContext *s);
int rtsp_resume(AVFormatContext *s);
-#endif /* RTSP_H */
+#endif /* FFMPEG_RTSP_H */