Changeset 1717


Ignore:
Timestamp:
02/26/10 15:43:01 (11 years ago)
Author:
merek
Message:

Merge from UMP r1790 - dingo35: Keep improvements of old postprocess routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reader-videoguard2.c

    r1714 r1717  
    6868static void postprocess_cw(unsigned char *cw, int nTableIdx)
    6969{
     70  if (!cw_is_valid(cw)) //if cw is all zero, keep it that way
     71    return;
    7072    unsigned short hk[8],i,j,m=0;
    7173    for (i = 0; i < 6; i++) hk[2+i]=Hash3[i];
     
    9799  cw[3] = (cw[0] + cw[1] + cw[2]) & 0xFF;
    98100  cw[7] = (cw[4] + cw[5] + cw[6]) & 0xFF;
     101  cs_ddump (cw, 8, "Postprocessed2 DW:");
    99102
    100103
Note: See TracChangeset for help on using the changeset viewer.