[MPlayer-cvslog] r18801 - in trunk/libmpdemux/realrtsp: rtsp_session.c rtsp_session.h

ben subversion at mplayerhq.hu
Fri Jun 23 22:32:32 CEST 2006


Author: ben
Date: Fri Jun 23 22:32:32 2006
New Revision: 18801

Modified:
   trunk/libmpdemux/realrtsp/rtsp_session.c
   trunk/libmpdemux/realrtsp/rtsp_session.h

Log:
remove some never called code

Modified: trunk/libmpdemux/realrtsp/rtsp_session.c
==============================================================================
--- trunk/libmpdemux/realrtsp/rtsp_session.c	(original)
+++ trunk/libmpdemux/realrtsp/rtsp_session.c	Fri Jun 23 22:32:32 2006
@@ -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);

Modified: trunk/libmpdemux/realrtsp/rtsp_session.h
==============================================================================
--- trunk/libmpdemux/realrtsp/rtsp_session.h	(original)
+++ trunk/libmpdemux/realrtsp/rtsp_session.h	Fri Jun 23 22:32:32 2006
@@ -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



More information about the MPlayer-cvslog mailing list