mirror of
https://github.com/mpv-player/mpv
synced 2025-02-24 08:57:00 +00:00
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:
parent
6d9101a25c
commit
7afb388858
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user