summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--libsi/headers.h8
3 files changed, 6 insertions, 7 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 10bf779d..86ab7dd7 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1992,3 +1992,6 @@ Tomas Berglund <tomber@telia.com>
Matthias Schwarzott <zzam@gentoo.org>
for suggesting to add LC_ALL to the checks for UTF-8 at startup
+
+Martin Ostermann <martin@familie-ostermann.de>
+ for fixing processing the PDCDescriptor in 'libsi' on big endian systems
diff --git a/HISTORY b/HISTORY
index 10225751..337adaf5 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4903,3 +4903,5 @@ Video Disk Recorder Revision History
(reported by Alexander Rieger).
- Fixed a memory leak in the cTimer::operator=() when using the 'aux' string
(reported by Alexander Rieger).
+- Fixed processing the PDCDescriptor in 'libsi' on big endian systems (thanks to
+ Martin Ostermann).
diff --git a/libsi/headers.h b/libsi/headers.h
index afa3106d..ea7824bc 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.7 2006/05/28 14:25:30 kls Exp $
+ * $Id: headers.h 1.8 2006/09/02 20:25:16 kls Exp $
* *
***************************************************************************/
@@ -1534,15 +1534,9 @@ struct descr_dsng {
struct descr_pdc {
u_char descriptor_tag :8;
u_char descriptor_length :8;
-#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 */