[Ogle-user] libdvdread: Can't seek to block 256

Felix Kurth felix at fkurth.de
Wed Dec 10 18:18:50 CET 2003


This line solved the problem:
device.c (libdvdcss-1.2.8) on line 518
 
off_t pos = (off_t)i_blocks * (off_t)DVDCSS_BLOCK_SIZE;
and changed the seek call to:
 i_ret = read( dvdcss->i_read_fd, p_buffer, pos );

There schould be more fixing done, at least on line 530 i see
the same 
(off_t)i_blocks * DVDCSS_BLOCK_SIZE

now i can watch dvd -:) great
neverthless, here some info about my system as requested:
Distribution: gentoo, http://www.gentoo.org

uname -a
Linux mars 2.6.0-test11 #3 Sun Dec 7 22:18:07 CET 2003 i686 AMD Athlon(TM) XP 
2100+ AuthenticAMD GNU/Linux

gcc --version
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)

glibc version: 
glibc-2.3.2, with a lot of patches, view here (possible any of them are not 
applied on my system)
http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-libs/glibc/files/2.3.2/

linux-headers version: 2.4.19
(glibc was compiled against this headers)
(also possible that glibc was comiled with an older release of gcc, or another 
patch set, since i didnt update it that lot.)

thanks a lot for your help. Since this is related to libdvdcss should i post 
on there mailinglist ? Or is the author of libdvdcss on this list too ?
ask me if you need more info about my system anyway.

Felix



-- 
Felix Kurth
pgp public key: http://www.fkurth.de/keys/felix.fkurth.asc
key fingerprint: D401 DCF8 2BF8 50DF 2FAD 8136 C29B 83EE C0A1 F2AD

-- 
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the libdvdcss-devel mailing list