changeset 18798:a738f1e0224f

remove some never called code
author ben
date Fri, 23 Jun 2006 20:32:32 +0000
parents 2e62e3c7402e
children e16345b97dab
files libmpdemux/realrtsp/rtsp_session.c libmpdemux/realrtsp/rtsp_session.h
diffstat 2 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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