--- camd.c.orig 2004-01-03 19:51:54.000000000 +0100 +++ camd.c 2004-01-03 19:57:03.000000000 +0100 @@ -416,12 +416,14 @@ pmt->program_number = *(unsigned short *)&buffer[1]; pmt->program_info_length = *(unsigned short *)&buffer[4] & 0x0fff; +#ifdef DISABLE_PREMIERE if ((pmt->program_number & 0xf000) == 0x0000) { printf("[camd] program number %04x unsupported due to missing parental control\n", pmt->program_number); free(pmt); return -1; } +#endif #if 0 printf("ca_pmt_list_management: %02x\n", pmt->ca_pmt_list_management); @@ -522,7 +524,11 @@ free(pmt); if ((service.numpids != 0) && (service.caID != 0)) { +#ifdef DISABLE_PREMIERE service.onID = 0x0001; +#else + service.onID = 0x0085; +#endif add_descrambleservice(&service); return 0; }