changeset 18850:bb64a42a4559

removed unused hexdump()
author ben
date Thu, 29 Jun 2006 21:20:01 +0000
parents 2f4cf2d615cb
children 703273c5e860
files libmpdemux/librtsp/rtsp.c
diffstat 1 files changed, 0 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/librtsp/rtsp.c	Thu Jun 29 17:07:57 2006 +0000
+++ b/libmpdemux/librtsp/rtsp.c	Thu Jun 29 21:20:01 2006 +0000
@@ -232,42 +232,6 @@
 }
 
 /*
- * debugging utilities
- */
-#if 0 
-static void hexdump (char *buf, int length) {
-
-  int i;
-
-  mp_msg(MSGT_OPEN, MSGL_INFO, "rtsp: ascii>");
-  for (i = 0; i < length; i++) {
-    unsigned char c = buf[i];
-
-    if ((c >= 32) && (c <= 128))
-      mp_msg(MSGT_OPEN, MSGL_INFO, "%c", c);
-    else
-      mp_msg(MSGT_OPEN, MSGL_INFO, ".");
-  }
-  mp_msg(MSGT_OPEN, MSGL_INFO, "\n");
-
-  mp_msg(MSGT_OPEN, MSGL_INFO, "rtsp: hexdump> ");
-  for (i = 0; i < length; i++) {
-    unsigned char c = buf[i];
-
-    mp_msg(MSGT_OPEN, MSGL_INFO, "%02x", c);
-
-    if ((i % 16) == 15)
-      mp_msg(MSGT_OPEN, MSGL_INFO, "\nrtsp:         ");
-
-    if ((i % 2) == 1)
-      mp_msg(MSGT_OPEN, MSGL_INFO, " ");
-
-  }
-  mp_msg(MSGT_OPEN, MSGL_INFO, "\n");
-}
-#endif
-
-/*
  * rtsp_get gets a line from stream
  * and returns a null terminated string.
  */