summaryrefslogtreecommitdiff
path: root/libsi/headers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:08:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:08:04 +0100
commit45eac6d94694aa9081bdd0e06794942c49818ff1 (patch)
treeaade606ef3dd0698faabcc7a2eacef1134b85771 /libsi/headers.h
parent1601918327b72a75b5e5e81405c725ae923f7515 (diff)
downloadvdr-45eac6d94694aa9081bdd0e06794942c49818ff1.tar.gz
vdr-45eac6d94694aa9081bdd0e06794942c49818ff1.tar.bz2
Added PDCDescriptor handling to 'libsi'
Diffstat (limited to 'libsi/headers.h')
-rw-r--r--libsi/headers.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/libsi/headers.h b/libsi/headers.h
index 26fdb27c..ff3e0f95 100644
--- a/libsi/headers.h
+++ b/libsi/headers.h
@@ -10,7 +10,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: headers.h 1.3 2004/02/20 13:49:16 kls Exp $
+ * $Id: headers.h 1.4 2004/02/22 11:12:46 kls Exp $
* *
***************************************************************************/
@@ -1457,11 +1457,19 @@ struct descr_dsng {
/* 0x69 pdc_descriptor */
-#define DESCR_PDC_LEN XX
+#define DESCR_PDC_LEN 5
struct descr_pdc {
u_char descriptor_tag :8;
u_char descriptor_length :8;
- /* TBD */
+#if BYTE_ORDER == BIG_ENDIAN
+ u_char pil2 :8;
+ u_char pil1 :8;
+ u_char pil0 :8;
+#else
+ u_char pil0 :8;
+ u_char pil1 :8;
+ u_char pil2 :8;
+#endif
};
/* 0x6A ac3_descriptor */