Changeset 4658 for trunk/module-cccam.c
- Timestamp:
- 01/30/11 17:35:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccam.c
r4628 r4658 784 784 case 0x0B: //CONAX: 785 785 case 0x18: //NAGRA: 786 case 0x17: //BETACRYPT 787 case 0x06: //IRDETO: 786 788 ofs = 2; 787 789 break; … … 827 829 **/ 828 830 void cc_UA_oscam2cccam(uint8 *in, uint8 *out, uint16 caid) { 829 //uint8 tmp[8]; 830 831 uint8 tmp[8]; 831 832 memset(out, 0, 8); 833 memset(tmp, 0, 8); 832 834 //switch (caid>>8) { 833 835 // case 0x17: //IRDETO/Betacrypt: … … 842 844 // //Place here your own adjustments! 843 845 //} 844 hexserial_to_newcamd(in, out+2, caid);845 UA_right( in, out, 8);846 hexserial_to_newcamd(in, tmp+2, caid); 847 UA_right(tmp, out, 8); 846 848 } 847 849 … … 868 870 int len = 8-ofs; 869 871 UA_left(in, tmp+ofs, len); 870 newcamd_to_hexserial(tmp +2, out, caid);872 newcamd_to_hexserial(tmp, out, caid); 871 873 } 872 874
Note:
See TracChangeset
for help on using the changeset viewer.