changeset 15628:f0dc4a6c9063

some debugging code
author alex
date Fri, 03 Jun 2005 15:59:24 +0000
parents 2c191764e8d9
children 2256ab57c9ac
files libmpdemux/asf_mmst_streaming.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_mmst_streaming.c	Fri Jun 03 15:36:40 2005 +0000
+++ b/libmpdemux/asf_mmst_streaming.c	Fri Jun 03 15:59:24 2005 +0000
@@ -343,7 +343,20 @@
       }
       
     } else {
+#if 0
+      int b = i;
+      printf ("unknown object (guid: %016llx, %016llx, len: %lld)\n", guid_1, guid_2, length);
+      for (; b < length; b++)
+      {
+        if (isascii(header[b]) || isalpha(header[b]))
+	    printf("%c ", header[b]);
+	else
+    	    printf("%x ", header[b]);
+      }
+      printf("\n");
+#else
       mp_msg(MSGT_NETWORK,MSGL_WARN,"unknown object\n");
+#endif
     }
 
 //    mp_msg(MSGT_NETWORK,MSGL_INFO,"length    : %lld\n", length);