1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed processing the PDCDescriptor in 'libsi' on big endian systems

This commit is contained in:
Klaus Schmidinger 2006-09-02 20:25:16 +02:00
parent 4c88f1da7e
commit 2e97eed6ad
3 changed files with 6 additions and 7 deletions

View File

@ -1992,3 +1992,6 @@ Tomas Berglund <tomber@telia.com>
Matthias Schwarzott <zzam@gentoo.org> Matthias Schwarzott <zzam@gentoo.org>
for suggesting to add LC_ALL to the checks for UTF-8 at startup 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

View File

@ -4903,3 +4903,5 @@ Video Disk Recorder Revision History
(reported by Alexander Rieger). (reported by Alexander Rieger).
- Fixed a memory leak in the cTimer::operator=() when using the 'aux' string - Fixed a memory leak in the cTimer::operator=() when using the 'aux' string
(reported by Alexander Rieger). (reported by Alexander Rieger).
- Fixed processing the PDCDescriptor in 'libsi' on big endian systems (thanks to
Martin Ostermann).

View File

@ -10,7 +10,7 @@
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (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 { struct descr_pdc {
u_char descriptor_tag :8; u_char descriptor_tag :8;
u_char descriptor_length :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 pil0 :8;
u_char pil1 :8; u_char pil1 :8;
u_char pil2 :8; u_char pil2 :8;
#endif
}; };
/* 0x6A ac3_descriptor */ /* 0x6A ac3_descriptor */