Ignore:
Timestamp:
05/05/19 11:42:54 (4 years ago)
Author:
Gorgone Impertinence
Message:

DVBAPI:
Fixed bug in dvbapi not releasing used descramblers in stapi, coolapi and gxapi boxes
Increased MAX_STREAM_INDICES back to 32 (it must be equal to MAX_STREAM_PIDS)
Modified the get_emm_filter_adv() function to accept more arguments

OTHER:
Cosmetics to module-cccam.c and module-cccam-cacheex.x
Removed some emu specific code not needed anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-newcamd.c

    r11503 r11518  
    956956                { memset(&mbuf[8], 0, 6); } //mbuf[8] - mbuf[13]
    957957
    958 #ifdef WITH_EMU
    959             if(aureader && aureader->typ == R_EMU && caid_is_dre(pufilt->caid))
    960             {
    961                 mbuf[10] = aureader->dre36_force_group;
    962             }
    963 #endif
    964958            mbuf[14] = pufilt->nprids;
    965959            for(j = 0; j < pufilt->nprids; j++)
     
    10131007                        }
    10141008                    }
    1015 #ifdef WITH_EMU
    1016                     else if(aureader->typ == R_EMU)
    1017                     {
    1018                         if(caid_is_dre(pufilt->caid))
    1019                         {
    1020                             found = 1;
    1021                             memset(&mbuf[22 + 11 * j], 0, 4);
    1022 
    1023                             switch((uint8_t)(pufilt->prids[j]))
    1024                             {
    1025                                 case 0x11:
    1026                                     mbuf[22 + 11 * j] = aureader->dre36_force_group;
    1027                                     break;
    1028 
    1029                                 case 0x14:
    1030                                     mbuf[22 + 11 * j] = aureader->dre56_force_group;
    1031                                     break;
    1032 
    1033                                 case 0xfe:
    1034                                     mbuf[22 + 11 * j] = 0xED;
    1035                                     mbuf[25 + 11 * j] = 0x02;
    1036                                     break;
    1037 
    1038                                 default:
    1039                                     found = 0;
    1040                             }
    1041                         }
    1042                     }
    1043 #endif
     1009
    10441010                    if(!found)
    10451011                    {
Note: See TracChangeset for help on using the changeset viewer.