summaryrefslogtreecommitdiff
path: root/src/input/librtsp
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2003-12-04 22:11:25 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2003-12-04 22:11:25 +0000
commit1044a6fe262477a8c42bacbb18bed907227b9d84 (patch)
tree962f10b34fb55615fda46d70d6283ed70153d8cb /src/input/librtsp
parent8e9415eba53a5227bfb18bfc850d629f38d4bcfa (diff)
downloadxine-lib-1044a6fe262477a8c42bacbb18bed907227b9d84.tar.gz
xine-lib-1044a6fe262477a8c42bacbb18bed907227b9d84.tar.bz2
Attempt to detect end of real rtsp streams
Minor hexdump cleanup CVS patchset: 5839 CVS date: 2003/12/04 22:11:25
Diffstat (limited to 'src/input/librtsp')
-rw-r--r--src/input/librtsp/rtsp.c40
1 files changed, 2 insertions, 38 deletions
diff --git a/src/input/librtsp/rtsp.c b/src/input/librtsp/rtsp.c
index 639344036..28b50fdb8 100644
--- a/src/input/librtsp/rtsp.c
+++ b/src/input/librtsp/rtsp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2002 the xine project
+ * Copyright (C) 2000-2003 the xine project
*
* This file is part of xine, a free video player.
*
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: rtsp.c,v 1.12 2003/11/26 19:43:31 f1rmb Exp $
+ * $Id: rtsp.c,v 1.13 2003/12/04 22:11:25 jstembridge Exp $
*
* a minimalistic implementation of rtsp protocol,
* *not* RFC 2326 compilant yet.
@@ -220,42 +220,6 @@ static ssize_t read_stream(rtsp_t *s, void *buf, size_t count) {
}
/*
- * debugging utilities
- */
-#if 0
-static void hexdump (char *buf, int length) {
-
- int i;
-
- printf ("rtsp: ascii>");
- for (i = 0; i < length; i++) {
- unsigned char c = buf[i];
-
- if ((c >= 32) && (c <= 128))
- printf ("%c", c);
- else
- printf (".");
- }
- printf ("\n");
-
- printf ("rtsp: hexdump> ");
- for (i = 0; i < length; i++) {
- unsigned char c = buf[i];
-
- printf ("%02x", c);
-
- if ((i % 16) == 15)
- printf ("\nrtsp: ");
-
- if ((i % 2) == 1)
- printf (" ");
-
- }
- printf ("\n");
-}
-#endif
-
-/*
* rtsp_get gets a line from stream
* and returns a null terminated string.
*/