changeset 3977:0796862b88db

some debug++
author arpi
date Fri, 04 Jan 2002 13:41:03 +0000
parents 3aa6a5c1ca32
children 2ba1d0ca9dce
files libmpeg2/decode.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpeg2/decode.c	Fri Jan 04 13:39:06 2002 +0000
+++ b/libmpeg2/decode.c	Fri Jan 04 13:41:03 2002 +0000
@@ -245,6 +245,13 @@
 	//decode_reorder_frames ();
 	break;
 
+    case 0xb2:	/* user data */
+	if(buffer[0]=='C' && buffer[1]=='C')
+	    printf("libmpeg2: Closed Captions sample found! Contact MPlayer developers!  \n");
+	else
+	    printf("libmpeg2: Unknown user data. %02X %02X  \n",buffer[0],buffer[1]);
+	break;
+
     case 0xb3:	/* sequence_header_code */
 	if (header_process_sequence_header (picture, buffer)) {
 	    printf ("bad sequence header\n");