# HG changeset patch # User ben # Date 1151094752 0 # Node ID a738f1e0224fe8688045508916d9723fd030c537 # Parent 2e62e3c7402e3d3518cb1ddd35c16a97b9b740a0 remove some never called code diff -r 2e62e3c7402e -r a738f1e0224f libmpdemux/realrtsp/rtsp_session.c --- a/libmpdemux/realrtsp/rtsp_session.c Fri Jun 23 20:28:12 2006 +0000 +++ b/libmpdemux/realrtsp/rtsp_session.c Fri Jun 23 20:32:32 2006 +0000 @@ -191,22 +191,6 @@ 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 -r 2e62e3c7402e -r a738f1e0224f libmpdemux/realrtsp/rtsp_session.h --- a/libmpdemux/realrtsp/rtsp_session.h Fri Jun 23 20:28:12 2006 +0000 +++ b/libmpdemux/realrtsp/rtsp_session.h Fri Jun 23 20:32:32 2006 +0000 @@ -34,8 +34,6 @@ 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