On Sat, 9 Aug 2008 09:49:01 -0700 (PDT)
Matthew Dillon <[EMAIL PROTECTED]> wrote:

> 
> :     Hi,
> :
> :     I found that compiling libdvdcss with CCVER=gcc34 makes encrypted
> :DVD reading work.
> :
> 
>     Nice sleuthing!  Sigh.  What is with all of these linux-centric
>     programmers these days?  Did you track down what in libdvdcss was
>     not being compiled properly with gcc-4?

        Is it because this sort of thing:

    if( psz_cache )
    {
        uint8_t p_sector[DVDCSS_BLOCK_SIZE];
...
        i_ret = dvdcss->pf_read( dvdcss, p_sector, 1 );
    }

        Can leave p_sector not aligned suitably for DMA in gcc-4 ? (pf_read
winds up calling read on the DVD device with p_sector as the buffer).

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/

Reply via email to