From: J?rgen K. <jk...@us...> - 2001-09-28 09:18:55
|
Update of /cvsroot/xine/xine-lib/src/input In directory usw-pr-cvs1:/tmp/cvs-serv2104 Modified Files: input_dvd.c Log Message: 32/64-bit bug in read_cache_read_block block, wrong fileoffset passed to read_cache_read_block (patch by Koo kyoseon) Index: input_dvd.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_dvd.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- input_dvd.c 2001/09/11 11:30:56 1.24 +++ input_dvd.c 2001/09/28 09:18:52 1.25 @@ -257,7 +257,7 @@ return NULL; } - if ((buf = read_cache_read_block (this->read_cache, this->file_lbcur*DVD_VIDEO_LB_LEN))) { + if ((buf = read_cache_read_block (this->read_cache, (off_t)this->file_lbcur*DVD_VIDEO_LB_LEN))) { this->file_lbcur++; this->file_size_left -= DVD_VIDEO_LB_LEN; |