[mythtv] [PATCH] DVB decryption fix

Daniel Kristjansson danielk at cuymedia.net
Wed Sep 7 15:57:57 UTC 2005


On Wed, 2005-08-31 at 03:28 +0200, Kenneth Aafl°y wrote:
> Hi!
> 
> If you read EN50221s section about CA_PMT you'll notice that ca_pmt_cmd_id
> only should be specified before a non-empty descriptor list and not before 
> every descriptor. Patch attached, please apply.
It looks like this patch is a little miss-formed.

The printf is indented, but there are no braces so it is 
always printed out.

Also, wouldn't it be simpler to replace that line with
    if (data_len > 0)
        capmt[length++] = CPCI_OK_DESCRAMBLING; // ca_pmt_cmd_id
so that we are checking the same thing as the data copy?

-- Daniel



More information about the mythtv-dev mailing list