Opened 11 years ago

Closed 11 years ago

#45 closed defect (fixed)

Little/Big endian trouble in reader-videoguard

Reported by: charlie.3ppes Owned by:
Priority: major Component:
Severity: medium Keywords:
Cc: Sensitive: no


We have some troubles compiling OSCAM for PPC TUXBOX. The endianness of platform is BIG but all the tables (seed1, seed2...) are writed in LITTLE. All the calc on PPC are wrong...

Is there a way to use BYTE_ORDER variable?

Thanks a lot!

Attachments (1)

reader-videoguard2.c (24.9 KB ) - added by charlie.3ppes 11 years ago.

Download all attachments as: .zip

Change History (3)

by charlie.3ppes, 11 years ago

Attachment: reader-videoguard2.c added

comment:1 by charlie.3ppes, 11 years ago

Plase see last attachment, we have fixed with a new function "swap_lb"
Can you merge with your trunk?


comment:2 by dingo35, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.