remove some never called code

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18801 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2006-06-23 20:32:32 +00:00
parent 6d9101a25c
commit 7afb388858
2 changed files with 0 additions and 18 deletions

View File

@ -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);

View File

@ -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