diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-29 21:20:01 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-29 21:20:01 +0000 |
commit | dc608be23256a709a42d80ac6840f860e83bef4d (patch) | |
tree | d823b97bcaa1ae203caba8696a1b4f1c7672e8b8 | |
parent | d7d7500003747971497811f56236548d8562a156 (diff) |
removed unused hexdump()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18854 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/librtsp/rtsp.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libmpdemux/librtsp/rtsp.c b/libmpdemux/librtsp/rtsp.c index 131f2045f0..4fa1957338 100644 --- a/libmpdemux/librtsp/rtsp.c +++ b/libmpdemux/librtsp/rtsp.c @@ -232,42 +232,6 @@ static ssize_t read_stream(int fd, void *buf, size_t count) { } /* - * 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. */ |