diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-23 20:32:32 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-23 20:32:32 +0000 |
commit | 7afb3888583c1a27c8609e278e45edf488dd8c51 (patch) | |
tree | 1141bc2f872b14218465ed8459c93115e35a40e4 /libmpdemux/realrtsp | |
parent | 6d9101a25c0f933a29706e9646366d5dec0e3394 (diff) |
remove some never called code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18801 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/realrtsp')
-rw-r--r-- | libmpdemux/realrtsp/rtsp_session.c | 16 | ||||
-rw-r--r-- | libmpdemux/realrtsp/rtsp_session.h | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/libmpdemux/realrtsp/rtsp_session.c b/libmpdemux/realrtsp/rtsp_session.c index 185ef6c517..72ac13c455 100644 --- a/libmpdemux/realrtsp/rtsp_session.c +++ b/libmpdemux/realrtsp/rtsp_session.c @@ -191,22 +191,6 @@ int rtsp_session_read (rtsp_session_t *this, char *data, int len) { return 0; } -int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize) { - - int len; - - if (this->real_session) - { - len = (this->real_session->header_len < maxsize) - ? this->real_session->header_len : maxsize; - - memcpy(buf, this->real_session->header, len); - return len; - } - - return 0; -} - void rtsp_session_end(rtsp_session_t *session) { rtsp_close(session->s); diff --git a/libmpdemux/realrtsp/rtsp_session.h b/libmpdemux/realrtsp/rtsp_session.h index 4b00511267..8f6f3d3f4c 100644 --- a/libmpdemux/realrtsp/rtsp_session.h +++ b/libmpdemux/realrtsp/rtsp_session.h @@ -34,8 +34,6 @@ rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, i int rtsp_session_read(rtsp_session_t *session, char *data, int len); -int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize); - void rtsp_session_end(rtsp_session_t *session); #endif |